Track opening rate of Outlook emails being sent through MS Access? - vba

I send MS Outlook emails via MS Access.
Is there any way to check if the emails are being opened or is there a service I can link with this to track the analytics of the email?
‘Code to format email and set it to variable strHTML here
‘code to send email
With cdomsg
.To = emailstr
.FROM = fromemailstr
.subject = Forms!frmMain.txtSubject
.HTMLBody = strHTML
.Send
End With
Set cdomsg = Nothing

open rates are very hard to detect. You have to use outside services to actually detect if your email was opened. Your email will at least have to support html (not text only) to know if it was opened. usually its a reference to in the body of an html email
<img src="http://yourdomain.com/file.jpg?campainid=52&send_method=Access" height=0px;width=0px;">
JavaScript is usually out of the question in emails, but not as much in web mail.
It would be best to use a email tracking provider, then to reinvent this wheel yourself, but you can try with my idea.
There are many other methods out there using email tracking tools

Related

VSTO - How to trace email body from bounce back email?

I'm new to develop VSTO. I have a Java schedule job to send email daily by SMTP.
If email is bounce back, my outlook would receive bounce back email.
Here is the question, since I used java program to send email, there is no copy in "sent items" folder. How can I trace back the original email Body from this bounce back email?
Thank you.
You can use the data from headers like Message-ID, To, From, Subject, Recieved property values for identifying the original item in Outlook.

How to send email with DKIM to BCC using Chilkat using C# .Net

My question is about sending bcc with dkim using chilkat.
I have suceesfully sending emails for past several years using Chilkat. I came across a new requirement where i need to BCC sent emails. Previously, I was using
I am adding bcc like
email.AddBcc("name","bcctest#bcc.com");
Chilkat.Dkim dkim = new Chilkat.Dkim();
Chilkat.MailMan mailman = new Chilkat.MailMan();
Chilkat.Email email = new Chilkat.Email();
mailman.SendMimeBytes(email.BounceAddress, email.GetToAddr(0), dkimSignedMime);
I am using SendMimeBytes to send emails.
dkimSignedMime contains the cert info and email object mime. Using this same method I am unable to send BCC.
I tried
mailman.SendEmail(email);
It sends out email but it goes to Junk.
I assign BCC property of email to the relevant email address before converting to mime. But this does not work as expected as BCC info is removed from mime. Is there a way i can achieve this functionality keeping the integrity intact?
Thanks for your help.
Here is an example that shows how to send DKIM signed email, and also explains how to add BCC email addresses.
https://www.example-code.com/csharp/dkim_send_email.asp

Preventing an email from being sent to Outlook's Junk folder

I'm writing an application that creates a word document and emails it to a user from our shared mailbox. The code works fine, however the message is delivered to the Junk folder instead of the Inbox.
I believe this is because it's coming directly from the email address (mymailbox#company.com), instead of the mailbox name in our Global Address List (My Mailbox).
Is there a way to get VB.Net to recognize my Global Address List so I can send directly from the mailbox name; or is there another solution to this problem?
You can set the "from" address in mailmessage.from to the proper email address. However, the "from" address is usually not enough to get an email sent to the spam folder.
There are several steps you can take to make it more likely your email gets through. The links in the comment above Rachel Gallen cover these pretty well.
http://www.allspammedup.com/2009/09/7-ways-to-prevent-your-emails-being-blocked-as-spam/
http://www.interspire.com/content/2006/09/28/improve-your-email-delivery-rates/
Just why something ends up in the junk mail is something set by the recipient's email client and/or ISP and not something you have control over. You may be able to maximise your chances of appearing to be non-spam by making your email have fewer spammy characteristics - if you could re-cast your sending system to create the message as an email rather than an attachment this may help.

Can Outlook Interop API not recognise a DeliveryNotification

Story goes: My user sends an email to their client. My user ticks of "delivery notification" / "read notification". The client responds on the notification. Now my user has a "notification" sitting in their inbox. My application may attach that "email" to a project database, happens with any other regular email.
Now a bug report ticks in (feature request) on my table. My user like to attach those "notifications" to the project in question, but my application does not recognise the notification as an email.
Having recieved this feature/bug request, I start investigating. When I right click the mail in question I'd expect to have the option of attaching the mail to a project. I do with regular emails, but not with the notification email.
First off: Isn't a delivery/ read notification just like any other email. Apparently not as it is not being recognised in the first run.
Second: If it isn't an email, what is it then. Apparently it does not exist. WT'bip'...
I found an enum DeliveryNotificationOptions under System.Net.Mail, but I'm using the Microsoft.Office.Interop.Outlook and the MailItem in there. I found the MailItem.OriginatorDeliveryReportRequested which is what the client's mail application has replied to and sent my user the notification.
I have the Outlook addin both as an Office2007(.Net3.5) and Office2010(.Net4) version, the 2003 has been retired. The way I see this it goes beyond office and .net version concerns.
Any light or pointers people like to share on this matter would be appreciated.
It's called a ReportItem (DeliveryNotification).

Track bounced back newsletter emails

I've built a newsletter system which tracks:
Openings
Link clicks
Unsubscriptions
However, I need to find a way of tracking which newsletter emails 'bounced back'.
Has anyone done this before and whats the best way of doing it?
When sending the mail via SMTP you supply the FROM command which is sometimes referred to as the 'Sender' or 'Envelope Sender'. This is separate from the From: header in the email itself. What you want to do is to create a 'bounced' mailbox and set that as the 'Sender' for the email. If there is a bounce, then most mail servers will send a (NDR) notification back to this sender.
Then you need to periodically check this mailbox for NDR's and parse them for the original recipient and if it was a hard or soft bounce. There are various libraries that can do this for you such as ListNanny