|
|
5 lat temu | |
|---|---|---|
| .. | ||
| go-simple-mail | 5 lat temu | |
| README.md | 6 lat temu | |
| emails.txt | 5 lat temu | |
| mail.html | 5 lat temu | |
| main.go | 5 lat temu | |
Mailling
Envoi un email a l' ensemble des destinataire present dans le fichier en bcc
Command : go run main.go ./test.txt "sujet" "contenue en html"
Syntax test.txt : aaaa.bbbbb@experis-france.fr; cccc.ddddd@experis-france.fr
A modifier dans le code les informations de connection au SMTP
smtpServ := mail.NewSMTPClient()
smtpServ.Host = "webmailsmtp.register.it"
smtpServ.Port = 25
smtpServ.Password = ""
smtpServ.Encryption = mail.EncryptionTLS