mailsend-go icon indicating copy to clipboard operation
mailsend-go copied to clipboard

How to use change authentication method?

Open effemmeffe opened this issue 6 years ago • 2 comments

The smtp I'm using in Thunderbird requires me to setup Port to 465, Connection security to SSL//TLS and Authentication method to Normal password. How do I mimic this with mailsend-go?

effemmeffe avatar Mar 15 '19 14:03 effemmeffe

The port 465 is usually used for SSL, so the auth command will be:

-smtp smtp_server -port 465 -ssl auth -user <user> -pass <pass>

Auth mechanism will be automatically picked from server's supported list.

The port 587 is usually used for StartTLS, and there will be no -ssl flag. Thanks.

muquit avatar Mar 15 '19 15:03 muquit

StartTLS is default when -ssl is not specified. How to ensure StartTLS is NOT used, say on port 26? Log is:

  • mailsend-go v1.0.10 starts - Subject: From: To: SMTP server: 192.168.xx.yy SMTP Port: 26 Setting From with name: , Using ESMTP Authentication SSL? false ERROR: unencrypted connection

Bilbo47 avatar Apr 18 '21 21:04 Bilbo47