2

How do I send a mail thanks to swaks with BCC recipients?

2 Answers 2

2

From the Swaks FAQ:

... to send a message to [email protected] and [email protected], but only include [email protected] in the To: header (or, put another way, to BCC [email protected]), the following would work:

swaks --to [email protected],[email protected] --header "To: [email protected]"

1

it easy:

swaks --to email1,email3 --from email2 --server smtp --auth LOGIN --auth-user "" --auth-password "" --header "Subject: test" --data "Subject: test

To: email1
Bcc: email3
From: email2
MIME-VERSION: 1.0
Content-Type: multipart/mixed; boundary=\"123456789\"

--123456789
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

    <html>
</html>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .