- b2evolution CMS User Manual
- Installation / Upgrade
- Configuration files
- _advanced.php
- Variables that control Email Sending
Variables that control Email Sending
Simulate Sending of Email
$email_send_simulate_only
Turn this on ($email_send_simulate_only = true
;) to simulate email sends instead of really sending them through SMTP.
This is useful if you are debugging a production database on a development machine.
It will prevent from sending test notifications to real user accounts.
You will still be able to see the emails that would have been sent through the Emails > Sent tab in the back-office.
Allow PHP mail() Sending
$email_send_allow_php_mail
Turn this off to prevent sending of emails if no external SMTP gateway is configured.
If true
and no SMTP gateway is configured, b2evolution will behave the same as with$email_send_simulate_only = true
;
This is useful to avoid sending email (especially campaigns) through a bad IP by mistake.