b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Installation / Upgrade
  3. Configuration files
  4. _advanced.php
  5. 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.

Created by fplanque • Last edit by fplanque on 2020-02-20 14:52 • •

No feedback yet

On this page

  • Simulate Sending of Email
  • Allow PHP mail() Sending

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
    • New Installation
    • Upgrade
    • Configuration files
      • _basic_config.php
      • _advanced.php
        • _advanced.php
        • Timezone
        • Email Sending
        • Image manipulation
        • Redirect Blocking
      • Other /conf files
      • Files related to upgrade
      • System config files
    • Advanced Setup
    • Migrating from Another System
    • Moving your b2evolution Site
    • FAQ & Troubleshooting (Installation / Upgrade)
    • Assumed User Skills
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Run your own website!

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque