Biztalk 2006 - Sending Emails with attachments

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: Biztalk 2006 - Sending Emails with attachments
    ... I have an orchestration that sends emails with attachments. ... is working great except it always includes the XML document as a ...
    (microsoft.public.biztalk.general)
  • Re: OE6 - cant send emails with attachments
    ... Tried increasing the timeout slider under Tools/Accounts, ... > attachments, and emails without attachments fine - ... Trying to send via a different email account from ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • OE6 - cant send emails with attachments
    ... I have a client with the exact same issue. ... attachments, and emails without attachments fine - ... >integrated into DSL router and with Norton Anti-Virus ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Autoprint email (plain text, html, attachments) (with message rule and VBA)
    ... I have to print all incoming emails including attachments. ... Set colCB = Nothing ... But with an inbox rule and the code above, ...
    (microsoft.public.outlook.printing)
  • Re: Send Receive
    ... After running 'regsvr32 inetcomm', does the attachments dialog return? ... Help with Hijackware ... > emails with attachments In the options security dialog box ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)