go-mailer icon indicating copy to clipboard operation
go-mailer copied to clipboard

mailer.Send

Open mistraminayasa opened this issue 6 years ago • 2 comments

I try to use the code and get the error 'mailer.Send undefined'. While, the 'mailer.New' and other mailer defined.

mistraminayasa avatar Feb 22 '18 11:02 mistraminayasa

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 :)

kataras avatar Mar 13 '18 04:03 kataras

Thanks so much. I try it again and it works.

mistraminayasa avatar Mar 13 '18 06:03 mistraminayasa