I would like to send a message with SMTP adapter. The message has two parts: an xml part, which is an attachment, and a text part, which is the body of the e-mail.
I followed the instructions on MSDN, but I have a problem:
the text part arrives also as an attachment.
The multi-part message’s body part is the text part. I give a value for it with the Rawstring class from the msdn.
I can give a filename to the attachment (xml part of the message), and it arrives to the address. (I use a dynamic port.) In the send pipeline, MIME/SMIME encoder, \”Send body part as attachment\” is false. I tried almost all the settings, but the text part always come as attachment (with the filename: \”Attachment1\”)
In the e-mail, which I get, there’s a message: \”This message has attachments.\” With some settings, it comes also as an attachment, called \”disclaimer.txt\”
What can be done?