[Drupal Con AMS 2005] Killes aka Gerhard on Mail API for Drupal
created on Tue, 2005-10-18 08:24
- Why? because Drupal sends email
- passwords, contact us, neewsletters, event reminders, forum subs, order confirmations, mass mailing
- mass mailing is newsletter at big scale
- current situation - user_mail wrapper for PHP mail function mail()
- mail() forks a child process, not very fast , limits efficiency
- can be bypassed by defining a SMTP library environment variable
- doesn't help because modules do their own thing :-) !
- requirements - small set of features, no bloat, usable by everybody
- 3 modes: single prepare and send email to one person
- multiple
- send as is - send preformatted emails
- simple SQL based Q
- HTML to text
- some sample implementations and APIs
- no default mail filter
- need to call functions
- some discussion about mail sending (Gerhard, doesn't set policy for mail sending, this is up to the module author who knows what she/he wants from email sending)
- email bounce is not a malfunction of sending email server
- a bounce comes back from destination email server, need to code for it
- Gerhard has code in sandbox from this
- may be problems with your Hosting provider not allowing to change headers
- can send out email with attachments (link)
- Dries: need set of functions for people to help people compose emails
- Dries: organize email meeting












