Open mattbostock opened 9 years ago
Using SMTP would be fine though I don't think there's a good reason to restrict it to Amazon SES. If the interface to send email is SMTP, any provider could be used.
I have a HTML template that can be used for the welcome email - I'll push that to a branch.
I've created a basic HTML template here, on a branch: https://github.com/mattbostock/leavediary/blob/welcome_email/templates/welcome_email.tmpl
Ah, I see: those who run this provide their own SMTP details. In that case, yes - much better to make connections to the details the user provides.
Would SES suffice for sending mail via SMTP? There's an official SDK for Golang that I think would work quite well for this, especially because you can just import the stuff you need for specific services. There are also some other unofficial libraries that might work in place.