Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Send Mail Task in SSIS Weird errors

$
0
0

Hey there all, 

 

i am having a weird problem with the send mail task in SSIS.  I have tried to different things, and i end up with two different errors:

 

Firstly, i have setup a data dump to excel, and the send mail taks emails this to specific email addresses. 

In the Send mail task i have validated to SMTP server, and its correct. 

I have manually entered all the information in the Send mail task, and i am sending to multiple email addresses.  These are all seperated by a semi colan.  I run the task and it fails on the send mail task with the follwoing error:

Error: 0xC002F304 at Send Mail Task, Send Mail Task: An error occurred with the following error message: "Unable to send to all recipients.".

Task failed: Send Mail Task

I have validated all the email address and they are correct.  I did some searching and someone suggested to replace the semi colan with a comma. I do this and i get the follwoing error"

Error: 0xC002F304 at Send Mail Task, Send Mail Task: An error occurred with the following error message: "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for rpwallis@bigpond.com.au".

I have checked that the IP for the SQL server is on the list of allowed relays on our exchange server.  Does it make a difference if i am running this from Visual studio on my laptop?? by this, does it pick up the ip of my laptop when i test this or does it use the ip address of the server??  This would explain the relay message error if so..

 

Could someone please explain if i should use comma's or semi colans to seperate email addresses?  and also lead me in the right direction in relatio to my problems..

 

Many thanks in advance

 

Scott Lancaster


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>