Did this below in Message Assignment Shape :
mailOut=InMsg;
mailOut(SMTP.DeliveryReceipt)=true;
mailOut(SMTP.Subject) = "Serengeti: Alert" + InMsg.PONum + InMsg.Status;
mailOut(SMTP.From) = "yyyyy@gmail.com";
mailOut(SMTP.SMTPAuthenticate)= 0;
mailOut(SMTP.SMTPHost) = myHost;
mailOut(SMTP.EmailBodyTextCharset) = "utf-8";
mailOut(SMTP.EmailBodyText) = "This is Body " + InMsg.Status;
mailOut(SMTP.SMTPTo) = "xxxx@gmail.com";
And this in Expression shape :
sndUpdateEMail(Microsoft.XLANGs.BaseTypes.Address) = "mailto:" + "xyz@gmail.com";
sndUpdateEMail(Microsoft.XLANGs.BaseTypes.TransportType) = "SMTP";
I have set dynamic email setup but I am not able to receive any emails.
But if I try with static SMTP adapter, then I am receiving emails.
What am I doing wrong while sending dynamically ? Please suggest