DATA Base mail configuration using GMAIL - Giving error

  • Hi All,

    I was trying to do Database mail configuration from gmail.

    But I cant send Text mail. Its failing with below error.

    I have used

    SMTP server name: smtp.gmail.com Port number: 587

    Please help me :

    Error,18,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2014-03-22T20:12:00). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at).

    ),6108,4,,3/22/2014 8:12:00 PM,sa

    Thanks for your help in advance

  • Can you try 'ssl://smtp.gmail.com', and port '465'

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • How are you authenticating?

  • you can't use anonymous authentication, sounds like you left the SMTP authentication section blank.

    587 is for non-SSL i thought.

    it should look like this:

    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!

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

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