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:
Harvey Tindall
2021-10-07 12:01:42 +01:00
parent 0fe72b41bf
commit d560df5b1e
10 changed files with 157 additions and 208 deletions
+9
View File
@@ -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,