• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

send email with html for a "special" read receipt

I have a vba system which sends several hundred emails a week.
 
I want to make sure they have been received, but our customers often disable the standard read receipt feature.

I would like to imbed html into my outgoing email body that says

<Click HERE to send receipt to rberke@mydomain.com>

When the user clicked on the html, the user would get a preformatted email similar to the following.
   
         .To = "rberke@mydomain.com"
         .Body = "I have receive the email"
        .Subject = "I have receive the email"
        .display

0
rberke
Asked:
rberke
1 Solution
 
Chris BottomleyCommented:
Hello rberke,

The key bit I should think is:
"SOme text comment introducing the link"

or for example appending to the end of the htmlbody
.htmlbody = .htmlbody & "SOme text comment introducing the link"

Regards,

chris_bottomley
0
 
rberkeAuthor Commented:
Wow, that was really easy.

I added just a tiny bit more detail and it worked like a charm!  Of course, there will be a problem if the user receives text only, but very few of our users do that.  Those users will get separate instructions.

Thanks


Sub TESTMySendingProgram()
Dim X As Object
Set X = Application.CreateItem(olMailItem)
X.To = "rberke@mydomain.com"
X.HTMLBody = "<a href=""mailto:rberke@mydomain.com?subject=I have receive the email&body=I have receive the email"">Some text comment introducing the link</a>"
X.Send
End Sub
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now