c# - Add PDF attachment to BizTalk email service -
i have come ownership of asp.net mvc site utilizes biztalk 2013 handle tasks sending emails. new biztalk forgive obvious mistakes in post.
quick overview
the service called through application , orchestration calls stored procedure in sql db populate of values email (including html email) , sends email out.
i want add pdf attachment email.
as test, added pdf file server , have tried adding actualemailmsg(smtp.attachments) = "c:\\pdfs\\test.pdf"; actualemailmsg(smtp.messagepartsattachments) = 2;
message assignment expression shape suggested in this post no avail. (i tried physical path 1 "\" "c:\\pdfs\test.pdf" , didn't work)
i have ruled out possibility of lack of permissions service account pdf folder. email sends correctly no attachment present. getting no errors in code or in event viewer on server @ point @ loss might be.
after lots of googling found the issue related send pipeline. this thread got me on right track.
in send ports section of biztalk admin console of app, send pipeline using custom pipeline believe made previous owner. i changed 'pass thru transmit' type in dropdown , working.
Comments
Post a Comment