I cannot figure out how to generate an email that is text/html and send an attachment with it.
I tried creating a Mime Data object, converted the html text string to bytes and then a stream, invoked the addBodyPart, invoke getEnvelopeStream, and then finally invoke smtp mapping my envStream to mimeStream and my attachment record to smtp’s attachments record…
and I get the email ok, but I do not get the attachment.
I have searched the forums prior to asking my question and I did not see a resolution. Please tell me what I am missing?
Using wm dev 6.5
#webMethods#webmethods-Protocol-and-Transport#Integration-Server-and-ESB