SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The mail could not be sent to the recipients because of the mail server failure.


The mail could not be sent to the recipients because of the mail server failure.

Author
Message
MSQLDBA
MSQLDBA
Mr or Mrs. 500
Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)Mr or Mrs. 500 (598 reputation)

Group: General Forum Members
Points: 598 Visits: 577
Hi Friends,

I am going to configure the Database mail notification on my SQL Server 2005. I have configured it while i am going to send test mail i am getting an error message,

Date 7/22/2010 12:17:48 PM
Log Database Mail (Database Mail Log)

Log ID 53
Process ID 1752
Mail Item ID 16
Last Modified 7/22/2010 12:17:48 PM
Last Modified By sa

Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 5 (2010-07-22T12:17:48). Exception Message: Could not connect to mail server. (No such host is known).
)

pls help me out by this problem. I also checked my firwall there is also prot no. is not blocked. Still i m not getting messagges on my mail.

Thanks in Advance.
M.I.

________________________________________
M.I.

Learning is a path with no destination...


Lowell
Lowell
SSC Guru
SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)

Group: General Forum Members
Points: 69526 Visits: 40917
okiftequar (7/22/2010)
Exception Message: Could not connect to mail server. (No such host is known).
)

that error is usually because the url to the mail server is incorrect, or there's no connectivity at all;
your setup should look something like this:

what is the value you put in for the server?


Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
MasterDB
MasterDB
Right there with Babe
Right there with Babe (716 reputation)Right there with Babe (716 reputation)Right there with Babe (716 reputation)Right there with Babe (716 reputation)Right there with Babe (716 reputation)Right there with Babe (716 reputation)Right there with Babe (716 reputation)Right there with Babe (716 reputation)

Group: General Forum Members
Points: 716 Visits: 574
hi folks,

can anyone help regarding this issue which i've attached. some people are not receiving automated mails. But am able to send the test mail from the same profile..

TIA..
Attachments
DBMAIL.png (566 views, 52.00 KB)
Ninja's_RGR'us
Ninja's_RGR'us
SSC Guru
SSC Guru (65K reputation)SSC Guru (65K reputation)SSC Guru (65K reputation)SSC Guru (65K reputation)SSC Guru (65K reputation)SSC Guru (65K reputation)SSC Guru (65K reputation)SSC Guru (65K reputation)

Group: General Forum Members
Points: 65657 Visits: 9671
srinath.vanama (8/9/2011)
hi folks,

can anyone help regarding this issue which i've attached. some people are not receiving automated mails. But am able to send the test mail from the same profile..

TIA..


Please start a new thread after testing google. I'd bet a lot that it knows the answer to that one.
Lowell
Lowell
SSC Guru
SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)SSC Guru (69K reputation)

Group: General Forum Members
Points: 69526 Visits: 40917
the errors pretty straight forward, i think:


you probably have an exchange server, and in the From Address of the profile you created, you have (for example) "srinath.vanama" instead of "srinath.vanama@yourdomain.com", so it works for some internal tests, as Exchange converts it to teh proper email, but not for external emails.

Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
manub22
manub22
Say Hey Kid
Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)Say Hey Kid (669 reputation)

Group: General Forum Members
Points: 669 Visits: 1863
Check my blog post where I've menitioned steps to configure Database Email

Link: http://sqlwithmanoj.com/2010/09/29/database-mail-setup-sql-server-2005/

Perform all steps mentioned in the blog post.

Also try out pointing your mail server to GMAIL, check if its working properly or not.


~manoj | LinkedIn | Facebook | YouTube
Blog: SQLwithManoj.com

seanjohns_dba
seanjohns_dba
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 13
All, I am having the same issue. I have tried everything mentioned.
I am using gmail account. Server name = smtp.gmail.com
port number 465, Checked the check box "this server requires a secure connection".
Using basic authentication with my test email address and password. Getting error when sending test email:

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2016-08-24T13:52:31). Exception Message: Cannot send mails to mail server. (Failure sending mail.).

Tried different port number (587) but get different error message:

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2016-08-24T14:04:57). Exception Message: Could not connect to mail server. (An attempt was made to access a socket in a way forbidden by its access permissions 74.125.25.109:587).

btw using SQL server 2012.

Thanks,
Sean
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search