question

ChrisDrake-5134 avatar image
0 Votes"
ChrisDrake-5134 asked ChrisDrake-5134 answered

How can I originate emails to recipients NOT listed in email headers (e.g. like how SMTP works)?

My add-in does "forensic mailing" (all email recipients receive imperceptibly different steganographic mail body content) for the purpose of identifying policy infractions (e.g. "leaks"). e.g. This means that when an email is sent:-

 From: Person A
 To: person B 
 Cc: person C
 Bcc: person D

that 4 different individual emails are generated (the original in the senders "Sent" folder, plus a new version for each of the 3 recipients = 4 total).

Using SMTP, it's a simple matter to set the appropriate headers, and use "RCPT TO" 3 times (in 3 different sessions) to send each mail.

What would be the equivalent or any other available way to originate my emails using "Microsoft Techniques" ? Is it possible to perform "SMTP over EWS" or similar, so I can re-use my existing (Linux) codebase ?

e.g. Is there some way to specify a "Bcc" recipient, along with the "To:" and "Cc:" email headers, and then transmit the mail to that Bcc recipient only, to emulate SMTP ?

office-exchange-server-mailflowoffice-addins-devoffice-exchange-server-dev
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ChrisDrake-5134

Since you added the "office-exchange-server-mailflow" tag which is used for Exchange On-premises questions to the question, I am writing to confirm with you:
Do you have an Exchange On-premises server or are you using Exchange Online?

Thanks in advance for your update.

0 Votes 0 ·

I'm building an Add-in for both (as well as SMTP too for that matter; but that use case works already)

0 Votes 0 ·

Hi,
Thanks for the update.
Since your question is related to Exchange development, I have added the tag “office-exchange-server-dev” to it.
Thanks for your understanding and hope you will get the answer soon.

0 Votes 0 ·

1 Answer

ChrisDrake-5134 avatar image
0 Votes"
ChrisDrake-5134 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.