Sylvain RECLUS 38d7963c39 Add Escar (Echape caractere pour des requetes sql-server) il y a 5 ans
..
README.md 60060d7584 Add mailling il y a 6 ans
main.go 38d7963c39 Add Escar (Echape caractere pour des requetes sql-server) il y a 5 ans
test.txt 9982b32eec draft mailling il y a 5 ans

README.md

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