All help articles

How Mailocity and Zappocity send their own mail

Both services send mail of their own: Mailocity its notices (invitations, reset links, security alerts), Zappocity its account mail (confirmation and reset links). Each can send as a real mailbox, so the mail is signed, counted and archived like any other.

Mailocity's notices

Under Settings → Notice mail (corpsuite notice-mail set):

sudo corpsuite notice-mail set mode=jmap account=noreply@mailo.city
sudo corpsuite notice-mail test to=you@example.com

Zappocity's mail

Under Settings → Zappocity mail (corpsuite zappocity mail set):

The help desk's mail goes out from each queue's own mailbox over JMAP (see the help desk).

sudo corpsuite mailbox token add noreply@zappo.city name="Zappocity mail" scopes:='["jmap"]'
sudo corpsuite zappocity mail set mode=jmap apiUrl=https://mailo.city apiToken=-
sudo corpsuite zappocity mail test to=you@example.com

Send test in the panel (and ... test) sends a message the chosen way and shows the error if it fails.

Mailbox API tokens

Next to a user in the admin panel, API tokens makes tokens (cs_mt_...) for that mailbox. A token is shown once; only its hash is kept. Each token allows one or both of:

Revoke a token there (corpsuite mailbox token revoke) and whatever uses it stops at once. Tokens show when they were made, by whom and when they were last used.