I need to create an email message with an attachment. The attachment contains a EDIFACT message.I need to define a custom Mime type for this attachment or something. I need to define a Mime Type application/x-EDIORDER. The .net provided mime types doesnt contain this mime type. How can I do this? I am using C# for sending the messages.
Thanks.
You can specify any Mime ContentType by creating a new instance of Mime.ContentType for example:
For a few content types (such as HTML) you may find that you need to add it as a LinkedResource that is an AlternateView rather than attaching it as a regular attachment however I am unfamiliar with EDIORDER.