Sending Mail error

Oct 4, 2012 at 6:46 PM

Hi

When i use the same SMTP connectiion  with the standard SSSIS send mail task iam able to send emails

but when i use the html send mail task with the same configuration then it fails with the below error.Would you know what i might be doing wrong

 

[Send HTML Mail Task] Error: Execution error: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for vamsi@yahoo.com   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at ToddMcDermid.SSIS.SendHTMLMailTask.Execute(Connections connections, VariableDispenser variableDispenser, IDTSComponentEvents componentEvents, IDTSLogging log, Object transaction)

 

Thanks

vamsi

Oct 4, 2012 at 8:30 PM

Does your program anywhere try to send emails external to the domain.Most of the help i found on google say that the SMTP restricts sending emails outside the domain

 

Please advsie

 

Thanks

Vamsi