Sendmail task is working fine in SSIS Solution but when deployed to SQL server and try to run from SQL agent job it is not working


hi,
ssis package has only sendmail task. when run sendmail package ssis solution working fine  when deployed sql server , try run sql agent job not working.

giving following error message.

executed user:domainname\sqladmin. microsoft (r) sql server execute package utility  version 10.0.1600.22 64-bit  copyright (c) microsoft corp 1984-2005. rights reserved.    started:  11:14:19 am  error: 2009-12-30 11:14:20.17     code: 0xc002f304     source: send mail task send mail task     description: error occurred following error message: "unable send recipients.  system.net.mail.smtpfailedrecipientexception: mailbox unavailable. server response was: 5.7.1 unable relay abc@abc.com".  end error  dtexec: package execution returned dtser_failure (1).  started:  11:14:19 am  finished: 11:14:20 am  elapsed:  1.032 seconds.  package execution failed.  step failed.


the user domainname\sqladmin not have relay permissions send domains outside of server domain.  please work smtp server administrator if need send emails untrusted domains (ie, domains different domainname\sqladmin)
phil brammer | http://www.ssistalk.com | twitter: http://twitter.com/philbrammer


SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........