I know this has been long documented, but I can not find anything that tells me how to do what I am attempting accross all my searches, so I am throwing it out there in the hope of some help…..
I am writing a generic EMailer service in biztalk that will handle emails for all biztalk apps that my current client writes.
The EMailer consists of a schema that defines an email and associated fields. I have got it successfully sending html\text emails and forwarding text\html\xml attachments, however I would like it to also send binary attachments.
The schema has a node called <BinaryData encoding=”” filename=””></BinaryData>.
The data in this node is a MIME encoded string. I want to use this string to create a new messagepart that will become an attachment to an SMTP mesage. When the message is sent out I want the attachment to be the intended file.
Could anyone suggest how I should go about this (not using SMTP.Attachments) but using addpart or some equivalent….
Thanks
Dinoo