Support

Home Forums Event Espresso Premium How to suppress all emails from EE

How to suppress all emails from EE

Posted: October 20, 2013 at 8:57 pm


panz

October 20, 2013 at 8:57 pm

I am using EE and combining it with Infusionsoft. I want IS to handle all of the communication with a registrant so I dont want EE sending any email out.

I have set the “Send payment confirmation emails?” and “Send registration confirmation emails before payment is received?” in general settings to “No”

I have set “Send custom confirmation emails for this event?”, “Use a pre-existing email?” and “Create a custom email:” to no and or blank.

Default registration email on general settings is also blank.

When I register as a test registrant, a blank email with my event title as a subject line is sent.

How do I stop EE from sending any emails at all? Im guessing there is a hack out there for it?


Dean

October 21, 2013 at 2:34 am

Hi,

The function to send emails is “pluggable” meaning it can be over ridden. If you have the Custom Files addon you can add the following to the custom_functions.php file

<?php
//Email sender
function event_espresso_send_email($params) {
return;
}
?>

If you don’t, you could create a file called custom_functions.php with that code inside it and upload it to wp-content/uploads/espresso.

This will stop ALL event espresso emails.

The support post ‘How to suppress all emails from EE’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso