2
Answers

SSIS send mail task

ghayaz ahmed

ghayaz ahmed

7y
183
1
Hi guys i am trying to send email message from send mail task but i am getting this error.
 
[Send Mail Task] Error: An error occurred with the following error message: "Failure sending mail.
System.Net.WebException: Unable to connect to the remote server System.Net.Sockets.SocketException:
 
No connection could be made because the target machine actively refused it AHMED-PC".
 
Answers (2)
1
Rajkiran Swain

Rajkiran Swain

NA 33.9k 373.3k 7y
There is a firewall blocking your access to AHMED-PC or that server does not have SMTP running on it.

You will need to talk to your network administrators.
-1
Sundar

Sundar

NA 9.6k 94.5k 7y
1)  First try to verify that remote system is accessible from all clients means there is no firewall be on port 25.
2)  To fix this issue, please change your SMTP server to use port 25.