Database mail error

  • I have configured database mail using a gmail account. However when I send a test email the error log reports the following message:

    Message

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 5 (2009-09-22T16:52:11). Exception Message: Could not connect to mail server. (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 72.14.221.111:587).

    )

    Does anyone know what the possible cause could be and how to resolve it?

    Regards

    Sauce1979

  • It looks like mail server(Exchange,SMTP) settings are incorrect , amend them and try again.

    If everything is set correctly, then the test mail should work fine.

    Pavan.

  • i have attached a copy of database configuration. From what I can see I have set it up correctly. I am just wondering if there is anything I need to do with gmail account to get it to work.

    Regards

    Sauce1979

  • Are you able to telnet your Exchange server on the specified port?

    "telnet 72.14.221.111 587"

    -Forum Etiquette: How to post Performance Problems[/url]

    -Forum Etiquette: How to post data/code to get the best help [/url]

  • What does Telnet mean and how do i do that?

  • eseosaoregie (9/23/2009)


    What does Telnet mean and how do i do that?

    on a high level, TELNET is a DOS based command which will tell you whether or not you are able to access any particular on specified port.

    like in your case it will tell you if you can establish a connection to your exchange server on port 587.

    go to command prompt and type telnet followed by the exchange server name/IP portnumber

    -Forum Etiquette: How to post Performance Problems[/url]

    -Forum Etiquette: How to post data/code to get the best help [/url]

  • OK i see. I have tried that and it said:

    Could not open connection to the host, on port 587: Connect failed.

  • eseosaoregie (9/23/2009)


    OK i see. I have tried that and it said:

    Could not open connection to the host, on port 587: Connect failed.

    That is the problem. check it on port 25 or 2525 (Default port)

    -Forum Etiquette: How to post Performance Problems[/url]

    -Forum Etiquette: How to post data/code to get the best help [/url]

  • I tried it with port 25 and then it seems to connect and prompts me to press any key to continue. When i press a key it says connection to host lost.

  • eseosaoregie (9/23/2009)


    I tried it with port 25 and then it seems to connect and prompts me to press any key to continue. When i press a key it says connection to host lost.

    Seems like its connecting over the port 25. you can also give it a shot on 2525 and then try with the same port from SQL Server DB-Mail configuration.

    -Forum Etiquette: How to post Performance Problems[/url]

    -Forum Etiquette: How to post data/code to get the best help [/url]

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply