trying to send database mail of sql server using gmail account

  • Hi i am trying to send database mail and using gmail as an smtp server.i have used my emailid,and password for credentials.port use is either 587 or 456.but i am getting following error.i got all this from net

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-09-19T11:50:46). Exception Message: Could not connect to mail server. (No such host is known). )

    can anybody tell what could be reason , why it is giving error "No such host is known"

  • anoop.mig29 (9/19/2013)


    Hi i am trying to send database mail and using gmail as an smtp server.i have used my emailid,and password for credentials.port use is either 587 or 456.but i am getting following error.i got all this from net

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-09-19T11:50:46). Exception Message: Could not connect to mail server. (No such host is known). )

    can anybody tell what could be reason , why it is giving error "No such host is known"

    YOu need to check your mailserver name/IP ? The must/should send the mail regardless the domain.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • Does this server have access to the internet?

    Make sure you are using port 587 and that you are using SSL and basic authentication. Also verify that your user name and password are correct.

Viewing 3 posts - 1 through 2 (of 2 total)

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