xing / cap_gun

Super simple capistrano deployment notifications. Forked from relevance/cap_gun.
MIT License
3 stars 3 forks source link

Allow server-side sending of email #2

Open boosty opened 11 years ago

boosty commented 11 years ago

Currently, the deployment email is being sent from the machine of the deploying user. But some users don't have a working smtp server or sendmail setup.

In this case, sending the email on the server side (which usually has a working mail setup) could be an option.

cap_gun should therefore allow a server-side sending of the email. My initial idea is to wrap the email sending in a rake task, which can then be called via cap.