Hi All,
I am trying to use Send Mail Task to send mails within my package and I get the following error. "The server response was: 5.7.1 Unable to relay for test@mail.com". Can anyone help me on this
Thanks
Hi All,
I am trying to use Send Mail Task to send mails within my package and I get the following error. "The server response was: 5.7.1 Unable to relay for test@mail.com". Can anyone help me on this
Thanks
send mail task error
Agarwal
Thanks for all the help Darren, I dont know If I fully understood what u said but I think what I was looking for.
Thanks a Lot
Dan Wood
Chris Allison
No. The task we have in SSIS uses SMTP and only SMTP. The task we had in DTS, or SQL Mail used MAPI (devil spawn), which meant we had to have a full MAPI (devil spawn) client and mail profile, so realistically we needed full Outlook on the machine. This offered us the choice of using various connectors within the profile, such as SMTP/POP3 or Exchange. In SSIS we have no choice, it only supports SMTP directly and you cannot use a MAPI (devil spawn) profile even if you were mad enough to want to.
Put another way, Exchange can expose a plain old SMTP server interface as well as the next mail server product, but day to day desktop use means when we use Outlook we talk RPC or RPC over HTTPS to get all the bells and whistles, not SMTP otherwise you might as well use Outlook Express/Thunderbird etc with your free dial-up ISP. For just sending mail from SSIS, Exchange is an overkill, but there is nothing wrong with it either, we just use the simple route in rather than the fancy one.
freeskier89
Thanks Darren for your input, I was able to send the mail using another smtp server, however I have another query which I think you would be able to answer, If I am using an exchange server as my smtp server to send the mail, do I have to install outlook or something else on the server where I eventually would be running my packages
Thanks