I can't configure office365 SMTP settings. I've tried all combinations tls://smtp.office365.com
, port 25 smtp_auth = PLAIN, LOGIN, TLS, CRAM-MD5 and DIGEST-MD5 but does not work. What can i do? How configure office365 smtp?
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = "smtp.office365.com"
smtp_port = "587"
; Enable SMTP authentication
; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
smtp_auth = LOGIN
smtp_username = "email@example.com"
smtp_password = "XXXX"
; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On
; Default envelope sender to use if none is specified elsewhere
default_envelope_sender = "firstname.lastname@example.org"