muquit / mailsend

A program to send mail via SMTP from command line
Other
294 stars 68 forks source link

How to send a mail to undisclosed recipients #86

Closed jlselles closed 8 years ago

jlselles commented 8 years ago

Hello. I'm trying to send a mail to several directions by I don't want to declare anyone of them. If I don´t put the "-to" clausule with data , mailsend don´t work. I'm putting all the destination emails in then "-bc" clause .

Thanks.

muquit commented 8 years ago

You've to put at least one -to address and the addresses you don't want to disclose, specify them as comma separated strings with -bc. Example: -to "jdoe@example.com" -bc "foo@example.com,bar@example.com"

SMTP server will not disclose the addresses specified with -bc (Blind Carbon Copy).

Thanks.

jlselles commented 8 years ago

Thanks. That's what I'm doing but I don´t want to declare neither the -to address.

muquit commented 8 years ago

Did you try the -list-address list.txt option? Add the addresses one address per line in the file list.txt. If your list is not huge, it should work.

Thanks.