carrot / ship

⛔️ currently unmaintained ⛔️
Other
151 stars 14 forks source link

Email Deployer #15

Closed hhsnopek closed 10 years ago

hhsnopek commented 10 years ago

use nodemailer for configuring & sending email

purpose:

ship.conf

    service: gmail
    user: foo@gmail.com #we could also append the service for the email?
    pass: bar
    recipient:
    subject:
    message:

subject & message could either be dynamic or static.

request from @samccone via https://github.com/jenius/roots/issues/373

jescalan commented 10 years ago

Expand this out with more info - what kind of things would be required in the ship.conf file? Is nodemailer really the best option?

hhsnopek commented 10 years ago

nodemailer seems the best, otherwise node-mail requires more setup.

Both have the option to setup normal SMTP but... Nodemailer supports these out of the box with no SMTP setup(pre-defined):

Nodemailer also supports XOAUTH for email, and has been tested on these PaaS:

It does seem the best option. If we wanted to create email templates we could easily add node-email-templates

hhsnopek commented 10 years ago

Oh we could also store the email with nodemailer, so then if the sender wants to use the same message multiple times they can.

notslang commented 10 years ago

lol! I can't believe we're actually going forward with this... Not that this wouldn't actually be pretty useful, since my clients have asked for a zipped or tarred copy of the site. Rather it's just how horrible of a deployment method this is.

jescalan commented 10 years ago

Hahah totally agreed @slang800

kylemac commented 10 years ago

will add this to the list of future deployers. closing this discussion for now.