Sunday, February 19, 2012

Database Mail

All,
I'm trying to test sending mail using SQL Server 2005. I have configured
database mail but I'm getting the following error:
The mail could not be sent to the recipients because of the mail server
failure. (Sending Mail using Account 10 (2007-02-13T12:38:53). Exception
Message: Could not connect to mail server. (An established connection was
aborted by the software in your host machine).
Has anyone ran into this. I have been able to setup the same thing on my
local machine and it works fine. Any suggestions would be appreciated.
JamalHi,
try sending a mail using the information entered in the GUI using the
telnet command. there should be a more specific error than the actual
posted.
http://www.activexperts.com/activemail/telnet/
HTH, Jens K. Suessmeyer.
--
http://www.sqlserver2005.de
--|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi Jamal,
Any luck finding a solution? I'm getting the same error message.
Ron
"Jamal" wrote:
> All,
> I'm trying to test sending mail using SQL Server 2005. I have configured
> database mail but I'm getting the following error:
> The mail could not be sent to the recipients because of the mail server
> failure. (Sending Mail using Account 10 (2007-02-13T12:38:53). Exception
> Message: Could not connect to mail server. (An established connection was
> aborted by the software in your host machine).
> Has anyone ran into this. I have been able to setup the same thing on my
> local machine and it works fine. Any suggestions would be appreciated.
> Jamal
>
>|||Problem turned out to be that port 25 was blocked. In the VirusConsole
=> Access Protection => Prevent mass mailing worms from sending mail
Ports 25
Added these to the exception list
SQLWb.exe,MsDtsSrvr.exe,SQLAgent90.exe,DtsDebugHost.exe,DatabaseMail90.exe

No comments:

Post a Comment