Sending Mail error

Oct 4, 2012 at 7:46 PM


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   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)




Oct 4, 2012 at 9: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