mhale / smtpd

An SMTP server package written in Go, in the style of the built-in HTTP server.
The Unlicense
397 stars 92 forks source link

sending Email #13

Closed khaledelbasha22 closed 5 years ago

khaledelbasha22 commented 5 years ago

how i can use it for send email for other server like @gmail.com

mhale commented 5 years ago

If you mean you want to use this library to send an email from Go code, that's not what it does - it receives emails. It does not send them. If you just want to send emails, have a read of the Go SendMail function documentation.

If you want to use this library to create your own mail forwarder program, have a look at my Mailrouter project for an example of how to do it.