Archived Forum Post

Index of archived forum posts

Question:

How to set a Custom Message-ID header for Emails?

Dec 23 '14 at 10:20

How can i remove my computername from Message-ID when sending email?

If i understand right, the Message-ID needs to be unique. But can i change the text part something else then my computername?


Answer

See the MailMan.AutoGenMessageId property. You can turn that off by setting it to false, and then you can explicitly set the Message-ID header via the Email.AddHeaderField method (which replaces a header field if it already exists).