I am using the following statement in my workflow code to convert my
byte array (Memory stream) into PDF file attachment but I am getting
junk characters when I open the PDF file.
objMail.Attachments.Add(new Attachment(ms, "example.pdf",
"application/pdf"));
When I do the same operation with "application/msword", I am able to
open the attachment in MS Word.
Am I missing any step here? Any help in this would be highly appreciated.
Do you know someone who can help? Share a link to this thread on twitter, or facebook.