Set cards can have a +*send setting that points to one or more Email cards. Upon creation, any card with a *send setting will send out email(s) accordingly. When Email cards are sent in this context, "_self" will be interpreted as referring to the newly created card.
Email cards can have these fields:
- *to
- phrase (email address)
- pointer - points to cards with accounts
- search - returns cards with accounts
- *cc (same as *to)
- *bcc (same as *to)
- *from - defaults to current user. if explicit, works like to.
- *subject
- *message
- *attach
Email cards can also be used to send single emails
Note:
- change notifications are *not* stored as cards! (can you spell recursion?)
- all relative urls must be absolutized
- need to embed 'new' view inside other cards, make redirect work
- configure redirect after save (*thanks) via pattern?
- we may want some sort of "confirm" option (or some way to turn all emails off) so that lots of bogus emails don't get sent during configuration.
Questions:
- how can we make it easy to switch between cardtypes on to, cc, bcc, and from?