send to bcc address
This commit is contained in:
@@ -22,7 +22,7 @@ func sendEmail(mail_to, mail_default_authuser, mail_message string) {
|
|||||||
getenv("MAILSERVER_HOST", "127.0.0.1")+":"+getenv("MAILSERVER_PORT", "25"),
|
getenv("MAILSERVER_HOST", "127.0.0.1")+":"+getenv("MAILSERVER_PORT", "25"),
|
||||||
auth,
|
auth,
|
||||||
getenv("MAILSERVER_USER", mail_default_authuser),
|
getenv("MAILSERVER_USER", mail_default_authuser),
|
||||||
[]string{mail_to},
|
[]string{mail_to, "info@wo-bisch.ch"},
|
||||||
[]byte(mail_message),
|
[]byte(mail_message),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user