Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

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

Constraint Violating Yak Guru

498 Posts

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

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.

Constraint Violating Yak Guru

498 Posts

Posted - 05/16/2014 :  13:34:32  Show Profile  Reply with Quote
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  
 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.02 seconds. Powered By: Snitz Forums 2000