go-mailer
go-mailer copied to clipboard
mailer.Send
I try to use the code and get the error 'mailer.Send undefined'. While, the 'mailer.New' and other mailer defined.
Hello @mistraminayasa , you've right, it's Mailer#Send
, not mailer.Send
, so you have to first use sender := mailer.New()
and after sender.Send
, the README example is also updated :)
Thanks so much. I try it again and it works.