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 2008 Forums
 SQL Server Administration (2008)
 database mail not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

esthera
Flowing Fount of Yak Knowledge

1340 Posts

Posted - 08/26/2012 :  08:27:04  Show Profile  Reply with Quote
I set up database mail but when sending a message I get Mail queued. but I don't get the email -- what could be wrong here?
I copied the stored procedure for sending mail from another machine it was working and set up the account in database mail but I get no errors - it just says Mail queued and I don't get the email

russell
Pyro-ma-ni-yak

USA
4964 Posts

Posted - 08/26/2012 :  15:06:13  Show Profile  Visit russell's Homepage  Reply with Quote
Made sure mail server is allowing relay from your SQL Server?
Go to Top of Page

esthera
Flowing Fount of Yak Knowledge

1340 Posts

Posted - 08/27/2012 :  02:40:14  Show Profile  Reply with Quote
i checked further and it's getting the following error in the mail log

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2012-08-27T07:34:35). Exception Message: Could not connect to mail server. (An attempt was made to access a socket in a way forbidden by its access permissions [ip here]). )
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.05 seconds. Powered By: Snitz Forums 2000