I am working with the following simple mail message, seen in the code below.
How do I set the Message Id proprty contained in the header information for an outgoing mail??
I would like to do something like:
d = messageId;
I see that the MailMessage class has the following property:
public NameValueCollection Headers
I suspect I would need to use that, but how??
MailMessage msgClient = new MailMessage();
msgClient.From = "email@example.com"