On Mon, 26 Sep 2016 14:49:57 +0000 "Manuel Amador (Rudd-O)" <[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 ? > > My RFC2822 knowledge is very rusty, but isn't that just a function of > the MIME headers you put in your message payload? It indeed is. SMTP operates the so-called "envelope" addresses which a clients sends to the server via the "MAIL FROM" and (possibly multiple) "RCPT TO" commands. Asit, consider looking at the "mime" standard package or -- since you appear to lack certain base level of the knowledge of how mail works -- you might even consider to not deal with low-level stuff and use the 3rd-party package "gomail" [1] which is able to properly construct mail messages and send them (and you can use any of these parts separately if you wish). 1. https://godoc.org/gopkg.in/gomail.v2 -- 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.
