flexible email+howto

*send Setting

 

To have email sent out whenever cards in a particular set are added, configure "send" in the card's rules. By default, it will be a Pointer to "|that set|+email config", which you can then fill out with who the email should go to, its subject and message, etc.

 

Let's say you want to configure an email to go out whenever someone adds an Event, with some event details. You'd go to Event's rules (under avanced in the menu):

There, you scroll down and click the radio button labelled 'All "event" cards' and Submit. You can then click to add an email configuration. See the example above.

 

Email Address Fields

 

The purpose of the *from, *to, *cc, and *bcc plus cards is, naturally, to produce a list of email addresses.  This can be done in a number of ways:

 

  1. The value can be a simple email address, as in a Phrase card.
  2. Pointer cards can refer to other cards with email addresses
  3. Search cards can return cards with email addresses
  4. Most powerfully, the above can be used in combination.  Eg, you can point to a search card that returns a list of email addresses.
Note that email addresses for wagn accounts are not yet stored in cards, but they can be accessed by administrative users as +*email cards.  These cards are virtual cards (not stored as actual cards in the database) and thus can only be returned from searches using the :append key.
 

Permissions

 

 

When emails are sent, all configuration cards are restricted to the permissions of the user who last configured them.  So that, even though most users cannot view +*email cards, an administrator can configure an email to use such cards, and then any user with permission to create the triggering card will be able to email to those users.

 

If you don't want these emails to be visible to end users, you can use the *bcc setting.

 

Contextual Content

 

You can use contextual names to further customize your emails.   Within each email configuration card, "_self" will be treated as referring to the card triggering the email.  See +*subject and +*message in the example.