Biztalk 2006 - Sending Emails with attachments
- From: "pfeifest" <pfeifest@xxxxxxxxxxx>
- Date: 1 Dec 2006 14:07:57 -0800
Hello-
I have an orchestration that sends emails with attachments. Everything
is working great except it always includes the XML document as a
body.dat or body.xml. Does anybody know how I can stop that?
Here is my assignment shape:
// Email Configuration
EmailOut(SMTP.From) = EmailIn(Biztalk.Roehl.PropertySchema.EmailFrom);
EmailOut(SMTP.Subject) =
EmailIn(Biztalk.Roehl.PropertySchema.EmailSubject) + "TEST5";
EmailOut(SMTP.SMTPHost) =
EmailIn(Biztalk.Roehl.PropertySchema.EmailSMTPServer);
EmailOut(SMTP.CC) = "scott.pfeifer@xxxxxxxxx";
EmailOut(SMTP.Attachments) =
@EmailIn(Biztalk.Roehl.PropertySchema.EmailAttachments);
// Body Area
EmailOut(SMTP.EmailBodyFile) =
@EmailIn(Biztalk.Roehl.PropertySchema.EmailBodyHtmlLocation);
EmailOut(SMTP.EmailBodyText) =
EmailIn(Biztalk.Roehl.PropertySchema.EmailBody);
EmailOut(SMTP.EmailBodyTextCharset) = "UTF-8";
EmailOut(SMTP.MessagePartsAttachments) = 2;
// Who does it go to?
Port_SendMail(Microsoft.XLANGs.BaseTypes.Address) = "mailto:" +
EmailIn(Biztalk.Roehl.PropertySchema.EmailTo);
// Do they want read receipts?
EmailOut(SMTP.ReadReceipt) =
EmailIn(Biztalk.Roehl.PropertySchema.RequestReadReceipt);
EmailOut(SMTP.DeliveryReceipt) = Em
Thanks-
pfeifest
.
- Follow-Ups:
- Re: Biztalk 2006 - Sending Emails with attachments
- From: OgTheTerror
- Re: Biztalk 2006 - Sending Emails with attachments
- From: Jan Eliasen
- Re: Biztalk 2006 - Sending Emails with attachments
- Prev by Date: RE: From SQL To Oracle
- Next by Date: RE: Microsoft.BizTalk.Log dll
- Previous by thread: RE: From SQL To Oracle
- Next by thread: Re: Biztalk 2006 - Sending Emails with attachments
- Index(es):
Relevant Pages
|