eMail
eMail copied to clipboard
getting to work with gmail app code
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");
can you post your config file?
Will this work with a google app password or am I going to have to lower the security on my google account.
`# 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"`