MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

ESSENTIALS: Home | Tips | Search | Categories | Top 10 | Products | Authors | Blogs | Forums | Webcasts | Advertise | About
SQL Server 2005 Database Mail Setup and Configuration Scripts - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

SQL Server 2005 Database Mail Setup and Configuration Scripts

Last post 07-03-2008 3:21 AM by skyline666. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-20-2008 12:30 AM

    SQL Server 2005 Database Mail Setup and Configuration Scripts

    This post is related to this tip: SQL Server 2005 Database Mail Setup and Configuration Scripts

    http://www.mssqltips.com/tip.asp?tip=1438

  • 04-24-2008 7:18 AM In reply to

    Re: SQL Server 2005 Database Mail Setup and Configuration Scripts

     

    I have configured the settings what you told. When i tested the test mail the following error message is getting displayed in the log file.

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2008-04-24T18:55:18). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay for ravikoppula1@gmail.com).
    )

    Can you please suggest a solution.

    I tried wether smtp connection is working or not. It's working.

  • 05-01-2008 11:28 PM In reply to

    • tosc
    • Top 25 Contributor
    • Joined on 03-12-2008
    • Germany
    • Posts 10

    Re: SQL Server 2005 Database Mail Setup and Configuration Scripts

    Hi ravi1217,

     are you sure, that you choose the right smtp authentication? plz. tell us your configuration.

    CU
    tosc

    - http://www.insidesql.org
    - http://www.insidesql.org/blogs/tosc
  • 07-03-2008 3:21 AM In reply to

    Re: SQL Server 2005 Database Mail Setup and Configuration Scripts

    ravi1217:
    I have configured the settings what you told. When i tested the test mail the following error message is getting displayed in the log file.

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2008-04-24T18:55:18). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay for ravikoppula1@gmail.com).
    )

    Can you please suggest a solution.

    I tried wether smtp connection is working or not. It's working.

    Hi,

     On http://www.databasejournal.com/features/mssql/article.php/3626056 (a similar run through of how to set up database mail), an error was displayed that is similar to yours and shows how to solve it.  The error shown is about half way down the page, and the solution given is to open up port 25 to allow emails to be sent.

     HTH

Page 1 of 1 (4 items)