On Mon, 26 Sep 2016 00:06:11 PDT Asit Dhal <[email protected]> wrote:
> 
> I don't see any functions in Golang net/smtp package for CC and BCC. 
> Does it support those functionalities ?
> If not, is there any work around for that ?

All of to, cc & bcc addresses from an email's headers must be
sent using RCPT commands. The sender MUA has to filter out any
bcc: lines from the email message itself (both the email
headers and body are sent via the DATA command). See the
example in net/smtp for SendMail(). SendMail()'s description
should probably clarify these points (though it is technically
correct).

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to