acm-uiuc / liquid

ACM@UIUC's website code (Django)
acm.uiuc.edu
15 stars 33 forks source link

Quote DB - Send email on quote creation #150

Open colegleason opened 11 years ago

colegleason commented 11 years ago

Send an email to anyone marked as a source or tag with the quote text when it is created.

ace-n commented 11 years ago

Is the website already set up for sending mail?

If so, what does it use? (I assume it uses this: https://docs.djangoproject.com/en/dev/topics/email/)

achalv commented 11 years ago

Of not that, you could piggyback on any email API's free quota, and use its Django bindings to send email as and when you want. I have a soft spot for Sendgrid since sending email with it as as easy as shooting a POST request to a JSON endpoint, but I don't know if they have Django bindings (yet).

calvin-shirley commented 11 years ago

The "approve pre-member" function sends e-mails, you could look at that to see how it's done.

ace-n commented 11 years ago

Working on this.

ace-n commented 11 years ago

Cole says that any e-mails that this sends out should use a template text file. (I currently build them string-by-string, which is the wrong approach.)

(FYI: This is mainly as a reminder for me.)