I understood. Thanks On Mon, Sep 26, 2016 at 5:54 PM, Konstantin Khomoutov < flatw...@users.sourceforge.net> wrote:
> On Mon, 26 Sep 2016 14:49:57 +0000 > "Manuel Amador (Rudd-O)" <rud...@rudd-o.com> 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 golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Asit Kumar Dhal TCS, Mumbai Ph : 99206 42406 blog: http://lifelikefuck.blogspot.com/ -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.