Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii Friends,

I have developed a vsto addin for outlook for sending mails, where I am sending mail by using Outlook.MailItem objects.

After sending the mail I want to know the status of the mail sent.

can anybody give me the solution for finding the solution of the above problem.

Thanks in advanve.

Regards,
T.Sudhir

What I have tried:

C#
Outlook.MailItem eMail = (Outlook.MailItem)this.Application.CreateItem(Outlook.OlItemType.olMailItem);
eMail.Subject = "Test mail";
eMail.To = "sudhir@xyz.com";
eMail.Body = "sample body";
((Outlook._MailItem)eMail).Send();


after this I want to know the status of the sent mail
Posted
Updated 5-May-16 6:17am
v2

Plain and simple, there is not 100% reliable way to automatically track emails. It is possible you could get a non delivery receipt that an email does not exist, but that is dependent on server configuration

You could also try delivery and read receipts, but again modern email clients do not auto generate theses without user interaction.

What some email marketing services do is embed a link in the email that when opened tracks the email through a unique id, but again modern email clients block this from happening by default.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 5-May-16 12:18pm    
Agree on that, my 5. I added my 5 cents in Solution 2, please see.
—SA
In addition to the correct Solution 1:

Please see: Email tracking — Wikipedia, the free encyclopedia[^].

I would make one practical conclusion: as any of the mail tracking features are never guaranteed if you communicate with random addressees, relying on mail tracking could be applied only to some corporate mail communications, where the available tracking features can be enabled by the company IT policies and appropriate services provide by the system administration department. Is that your situation?

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900