In order to avoid repetitive spammy type email during a testing period, SPIP offers to direct all the email sent out by the site to an address that you have determined in advance.

The _TEST_EMAIL_DEST constant is used for testing dispatched emails, by replacing any and all email recipient addresses with that defined by the constant. For example, if you insert the following code in to your mes_options.php (see The mes_options.php file) file:

define('_TEST_EMAIL_DEST', 'administrator@mydomain.test');

Then it will be the "administrator" email account that will receive all emails sent out by SPIP (subscription emails, notification emails, etc).

To ensure that no one at all receives any email, you can also insert the following code:

define('_TEST_EMAIL_DEST', '');

If you wish, you may also specify several addresses by separating them with commas.

Author Mark Published : Updated : 24/04/23

Translations : English, français, Nederlands