Hi,BizTalk receiving the Invoice Message from Source and doing some transformation.After that Biztalk will send email dynamically via SMTP .Below is the code in message construct message assignment shape
multipartMessage1.MessagePart_1= XMLdoc;
multipartMessage1.MessagePart_2="This is message part2 as a string";
multipartMessage1(SMTP.Subject) ="Email From Dynamic Port";
multipartMessage1(SMTP.From) ="donotreply@mydomain.com";
multipartMessage1(SMTP.SMTPHost) ="100.110.120.99";
multipartMessage1.MessagePart_2(MIME.FileName) = "Attachment_Name";
multipartMessage1(SMTP.SMTPAuthenticate) =0;
SendInvoicePort(Microsoft.XLANGs.BaseTypes.Address)="mailto:abc@abc.com";
When run the application, getting below error message.
A message sent to adapter "SMTP" on send port "HelloWorld_1.0.0.0_Microsoft.Samples.BizTalk.HelloWorld.HelloSchedule_SendInvoicePort_d7ce16ba803d4f87" with URI "mailto:abcemail@abc.com" is suspended.
Error details: Class not registered
MessageId: {0D6BBA1A-F384-4AD9-8B48-44A9C342DEFB}
InstanceID: {EAFEADE1-8D05-4A7D-A908-7BC297788D06}
After googling ,I have added multipartMessage1 (SMTP.EmailBodyTextCharset) = "UTF-8".but no use.
Ive spent many hours on this issue .Please advise how to resolve this issue