switch smtp library, add, HELLO hostname option
now using xhit/go-simple-mail, as I wanted to add an option to change the hostname sent in the HELLO message but this is only possible with STARTTLS in jordan-wright/email. New option can be seen in Settings > SMTP with advanced settings turned on.
This commit is contained in:
@@ -535,6 +535,15 @@
|
||||
"type": "password",
|
||||
"value": "smtp password"
|
||||
},
|
||||
"hello_hostname": {
|
||||
"name": "HELLO Hostname",
|
||||
"required": false,
|
||||
"requires_restart": false,
|
||||
"advanced": true,
|
||||
"type": "text",
|
||||
"value": "localhost",
|
||||
"description": "Hostname sent when sending HELLO to the SMTP server. Some servers don't like the default \"localhost\" value, such as smtp-relay.gmail.com."
|
||||
},
|
||||
"ssl_cert": {
|
||||
"name": "Path to custom SSL certificate",
|
||||
"required": false,
|
||||
|
||||
Reference in New Issue
Block a user