eMail icon indicating copy to clipboard operation
eMail copied to clipboard

getting to work with gmail app code

Open DaddioD opened this issue 5 years ago • 3 comments

getting error:

email: FATAL: Smtp error: 530 5.7.0 Must issue a STARTTLS command first. s31sm1331632ywa.30 - gsmtp

not sure where to add this:

props.put("mail.smtp.starttls.enable", "true");

DaddioD avatar Feb 07 '20 14:02 DaddioD

can you post your config file?

deanterm avatar Feb 07 '20 14:02 deanterm

Will this work with a google app password or am I going to have to lower the security on my google account.

DaddioD avatar Feb 11 '20 23:02 DaddioD

`# SMTP Server and Port number you use SMTP_SERVER = 'smtp.gmail.com' SMTP_PORT = '587'

SENDMAIL_BIN = '/usr/lib/sendmail -t -i'

MY_NAME = 'Real Name' MY_EMAIL = '[email protected]' #REPLY_TO = '' USE_TLS = 'true' SIGNATURE_FILE = '&/email.sig' ADDRESS_BOOK = '&/email.address.template'

SAVE_SENT_MAIL = '~'

TEMP_DIR = '/tmp'

GPG_BIN = '/usr/bin/gpg'

GPG_PASS =

SMTP_AUTH = 'LOGIN'

SMTP_AUTH_USER = [email protected] SMTP_AUTH_PASS = appasswordgeneratedbygoogle #VCARD = "~/dean.ldif"`

DaddioD avatar Feb 12 '20 03:02 DaddioD