Contact Us

CATEGORIES

Whoops…Nothing found

Try other keywords in your search

Simple Mailer and Gmail

 0 Minutes

 0 Likes

 996 Views

How to change the recipient to a Gmail account


Inside the action testMailSecure change as follows on line 4:

local url = "smtp://smtp.gmail.com:587"

The username is the email address. Password is the given PWD for this email (account).

 

As this refers to a one factor login please make sure that you accept low security API access 

https://support.google.com/accounts/answer/6010255#zippy=%2Cif-less-secure-app-access-is-off-for-your-account

 

For a two factor login you will need to generate a password and reuse this password as described here:

https://support.google.com/accounts/answer/185839?co=GENIE.Platform%3DDesktop&hl=en

Was this article helpful?