How to trigger email automatically without clicking send button when clicked on Mailto link

StackOverflow https://stackoverflow.com/questions/22985991

  •  01-07-2023
  •  | 
  •  

Question

My title speaks what i need. Here is my scenario. My application will be sending html formatted emails to user with a Accept/Reject link. I would like to trigger email's automatically with a customized Subject to a mail id when the user clicks on Accept/Reject button.As Recipients of this mails are outlook users,i have to trigger send (ctrl+Enter) button of outlook. Is this possible with a mail-to link. Please don't suggest opening a page there by i can accomplish my task. That's not i want. Please help on this.

Was it helpful?

Solution

You cannot do that with a mailto link. Why not use the Outlook Object Model to create a new item and send it programmatically? See http://msdn.microsoft.com/en-us/library/ms268749.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top