Hi, with the EDI in R2 I was trying to include EDI in the body of a SMTP e-mail. Unfortunately BizTalk always adds the EDI as attachment even if we say to put in in the mail body... Somewhere I read - forgott where - that this is because the EDISend pipeline emits the EDI as MIME. Do we have a possibility to override this behavior? Can we change the Content-Type of the EDI message in a custom component to achieve this? If we take a flatfile and send it thought the passthough pipeline it gets included in the body of the mail. It looks a bit stupid to first send the EDI to a folder, pick it up and e-mail it in the body of the e-mail... Thanks for any advice.
Changing the content type to "text/html" in a custom pipeline component solved my problem! "Koen" wrote: > Hi, > > with the EDI in R2 I was trying to include EDI in the body of a SMTP e-mail. > > Unfortunately BizTalk always adds the EDI as attachment even if we say to > put in in the mail body... > Somewhere I read - forgott where - that this is because the EDISend pipeline > emits the EDI as MIME. > > Do we have a possibility to override this behavior? > Can we change the Content-Type of the EDI message in a custom component to > achieve this? > > If we take a flatfile and send it thought the passthough pipeline it gets > included in the body of the mail. It looks a bit stupid to first send the EDI > to a folder, pick it up and e-mail it in the body of the e-mail... > > Thanks for any advice.