SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Send Mail Task Failed - SSIS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Peter99
Constraint Violating Yak Guru

494 Posts

Posted - 05/16/2014 :  10:56:27  Show Profile  Reply with Quote
Hi,

I am trying to send mail from ssis package. When I debug package it return 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 xx.xx.xx.xx:25.

Pleae help.
Thanks

Peter99
Constraint Violating Yak Guru

494 Posts

Posted - 05/16/2014 :  13:34:32  Show Profile  Reply with Quote
Solution:
McaFee was blocking outgoing email.
1. Right click on Mcafee at bottom of your screen.
2. Select manage features.
3. Select Virus scan enterprise.
4. Double click access protection.
5. Select anti-virus Standard Protection.
6. Double click Prevent mass mailing worms from sending mail.
7. In process to exclude - add DtExec.exe, DtExecUI.exe

That will resolve your issue.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000