Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending email through Gmail
#2
(07-16-2018, 08:19 PM)jjeffman Wrote: Which are the correct settings to enable Indy10 to send emails using Gmail's SMTP?

You need to connect to 'smtp.gmail.com' on port 587, and have the UseTLS property set to utUseExplicitlTLS (be aware that the UseTLS setter can change the Port property, so make sure you are actually connecting to the correct port!).

Also, Indy does not yet support OAuth authentication over SASL, so if you have multi-factor authentication enabled in your Gmail account, you need to generate an application-specific password in your Gmail security settings, and then you can use that password with Indy, using your gmail email address as the username.

Reply


Messages In This Thread
Sending email through Gmail - by jjeffman - 07-16-2018, 08:19 PM
RE: Sending email through Gmail - by rlebeau - 07-16-2018, 09:21 PM
RE: Sending email through Gmail - by jjeffman - 07-17-2018, 03:05 PM
RE: Sending email through Gmail - by rlebeau - 07-17-2018, 05:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)