I have a web service that generatesMailMessages.
How can I generate and send multiples so that outlook recognizes them as threaded?
I have seen examples of decoding this information but nothing very clear to understand on encoding it.
When my webservice uses SMTP to send multiple emails about the same topic, I'd like the recipients of those emails, in outlook, to have the multiple emails threaded together similar to how replies will automatically chain and collapse in certain versions.
Can I do this without access to an exchange API? It seems like I should be able to since plenty of email clients thread replies without such a system.
For instance, say you send an email invitation to a friend to lunch. The friend responds in the affirmative and suggests a restaurant. In turn, you reply with a confirming email. This is an email thread.
Outlook will recognize as threads if you create a message as a reply of the original message.
The most efficient way to send a mail through Exchange Server (Outlook) is to use "Outlook Mail REST API." Normally exchange server setup the service on the installed web server.
Managing the outlook mailbox is pretty straightforward. Please refer to the following URL to learn how to use the REST API.
https://msdn.microsoft.com/office/office365/APi/mail-rest-operations#SendMessages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With