BizTalk Server - send email in biztalk

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > December 2004 > send email in biztalk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author send email in biztalk
Fred

2004-12-05, 8:46 pm

I am studying the sdk about how to send a email with body and attachement.

It seems that the message to be sent is an mulitpart message.

as shown msgAcknowledgement.partAcknowledgementString seems to be only

a part of the message.
--------
msgAcknowledgement.partAcknowledgementString = new
Microsoft.XLANGs.CustomFormattersSDK.RawString("<HTML><BODY>Your
expensereport with reference <B>" +
msgApprovalRequest(ExpenseReports.Reference) + "</B> has been sent for
approval to <A HREF='mailto:" +
msgExpenseReportIn(ExpenseReports.EmailManager) + "'>" +
msgExpenseReportIn(ExpenseReports.EmailManager) + "</A></BODY></HTML>");
SMTPUtils.Part.SetContentType(msgAcknowledgement.partAcknowledgementString,"
text/html");
SP_Acknowledgement(Microsoft.XLANGs.BaseTypes.Address) = "mailto:" +
msgExpenseReportIn(ExpenseReports.EmailEmployee);
msgAcknowledgement(SMTP.Subject) = "Expense report submission confirmation";
-------
My question is how the multipart message is constructed in the example.


and send plain text email example is also confusing as follow
-------
RawOutMsg = new Microsoft.XLANGs.CustomFormattersSDK.RawString( ¡°e-mail
body goes here¡± );

SP_Acknowledgement(Microsoft.XLANGs.BaseTypes.Address) =
"mailto:MyManager@MyCompany.com";
msgAcknowledgement(SMTP.Subject) = "Expense report submission confirmation";
-----------
what is relation of RawOutMsg and msgAcknowledgement?

I hope the sdk team can provide the full source code of this example.

thank you.








Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com