SMTP to Gmail Authenticated Relay not working email stuck in queue

1

I am following this document

http://kb.eclipseinc.com/kb/how-to-configure-iis-smtp-server-to-forward-emails-using-email-account/

and in places where it was talking about ports etc i used the information

Gmail SMTP server settings

  1. Gmail SMTP server name: smtp.gmail.com

  2. Gmail SMTP username: your Gmail address

  3. Gmail SMTP password: your password

  4. Gmail SMTP port: 465

I also enabled TLS

but mails sent just get stuck in queue

My Settings

SMTP_DeliverTab Outbound Connections Outbound Security Advanced Delivery Relay Restricions

SeanClt

Posted 2016-06-10T20:23:43.247

Reputation: 1 960

Answers

1

Mails sent just get stuck in queue

You need to use port 587 with TLS.

  • Gmail SMTP port (TLS): 587
  • Gmail SMTP port (SSL): 465

Source What Are the Gmail SMTP Settings?


I'm getting an error message that my app is not secure

Someone just tried to sign in to your Google Account myaccount@gmail.com from an app that doesn't meet modern security standards.

You need to change a setting on your Gmail account.

  • Login to Gmail

  • Go to "My account"

  • Select "Sign-in & security"

  • Scroll to the bottom of the page

  • Set "Allow less secure apps" to "ON"

enter image description here

Try to send your emails again.


Allowing less secure apps to access your account

Google may block sign-in attempts from some apps or devices that do not use modern security standards. Since these apps and devices are easier to break into, blocking them helps keep your account safe.

Some examples of apps that do not support the latest security standards include:

  • The Mail app on your iPhone or iPad with iOS 6 or below
  • The Mail app on your Windows phone preceding the 8.1 release
  • Some Desktop mail clients like Microsoft Outlook and Mozilla Thunderbird

Change account access for less secure apps

To help keep Google Apps users' accounts secure, we may block less secure apps from accessing Google Apps accounts. As a Google Apps user, you will see a "Password incorrect" error when trying to sign in. If this is the case, you have two options:

  • Option 1: Upgrade to a more secure app that uses the most up to date security measures. All Google products, like Gmail, use the latest security measures.

  • Option 2: Change your settings to allow less secure apps to access your account. We don't recommend this option because it might make it easier for someone to break into your account. If you want to allow access anyway, follow these steps:

    1. Go to the "Less secure apps" section in My Account.
    2. Next to "Access for less secure apps," select Turn on. (Note to Google Apps users: This setting is hidden if your administrator has locked less secure app account access.)

Source Allowing less secure apps to access your account

DavidPostill

Posted 2016-06-10T20:23:43.247

Reputation: 118 938

You are correct i was using the wrong port after changing to 587 i got one partial success saying google prevented the sign in attempt coz app doens't meet modern standards but then after that nothing – SeanClt – 2016-06-10T21:50:20.830

@SeanClt What is the exact error message? – DavidPostill – 2016-06-10T21:59:15.980

no error message email just sits on the queue – SeanClt – 2016-06-10T22:09:06.490

@SeanClt So what is this "app doens't meet modern standards" then? – DavidPostill – 2016-06-10T22:10:00.933

Message in the email : Someone just tried to sign in to your Google Account myaccount@gmail.com from an app that doesn't meet modern security standards. – SeanClt – 2016-06-10T22:11:21.403

You need to change a setting on your Google account. I will update the answer. – DavidPostill – 2016-06-10T22:13:26.557

thank you i just added screenshot of my settings, Next i m going to try my zoho account instead of gmail but i might not be able to test further before monday Really appreciate the help – SeanClt – 2016-06-10T22:15:25.887

Answer updated. If you change as described Gmail should work. – DavidPostill – 2016-06-10T22:21:25.587

Thank you I'll test this again and also post how I am sending the emails – SeanClt – 2016-06-10T22:22:17.817