muquit / mailsend-go

mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
Other
168 stars 16 forks source link

Send email to multi to adress #2

Closed andrewjswan closed 5 years ago

andrewjswan commented 5 years ago

I try send email to multi adress In help i see: -t to,to..* - email address/es of the recipient/s. Required I try: mailsend-go.exe -f mail@mail.com -smtp server -t mail1@mail.com,mail2@mail.com -cc mail3@mail.com -sub "Subject" body -msg "Message" And got error: ERROR: gomail: could not send email 1: gomail: invalid address "mail1@mail.com,mail2@mail.com": mail: expected single address, got ",mail2@mail.com"

muquit commented 5 years ago

It's a bug. Will fix soon. Thanks for reporting!

muquit commented 5 years ago

Please try v1.0.3. Thanks.

andrewjswan commented 5 years ago

Thanks. Worked!