Support

Home Forums Event Espresso Premium Stop new user registrations from getting verification emails

Stop new user registrations from getting verification emails

Posted: January 29, 2014 at 12:59 pm

Viewing 4 reply threads


David Waterman

January 29, 2014 at 12:59 pm

Hi,

I am trying to stop users who register for an event to receive the Welcome to SiteName notification email?

I looked everywhere and did not find anything to stop this from happening.

Any ideas on how I can make this happen? or what files/function do I have to edit?

Thanks.


Dean

January 30, 2014 at 1:46 am

Hi David,

The registration email will always go out, the only built in option is to delay it until payment is received.

AS such the only way to do it would be to edit the functions found in includes/functions/email.php, either directly in the file (not recommended) or by making use of the fact that some of them are pluggable.

This function looks like a good starting point event_espresso_email_confirmations


David Waterman

January 30, 2014 at 8:13 am

Hi Dean,

I do want the confirmation email to go out to users who register for an event, this is not my problem.

To explain it better, as of now when a user registers for an event (not members) they are getting a Welcome to “sitename” email and then right after they are getting the event registration event which is ok with me.

The email that I do not want to send out is the “Welcome to sitename”; basically this email contains username and a password for the user who just registered for an event, but not in specific to the site.

If Event Espresso registers users to WordPress automatically that’s fine with me, I just do not want them to receive the Welcome to sitename email.

You can try registering yourself to this event and you will see an example of what I described above.
http://events.ktbenefits.info/event-registration/?ee=24

Thanks.


Josh

  • Support Staff

January 30, 2014 at 8:28 am

Hi David,

Event Espresso doesn’t automatically register new user accounts when someone registers for an event. Seth wrote up a script that makes this happen, and published it here:

https://gist.github.com/sethshoultes/5574217

If you are using a script like that, you can comment out the line that emails the user. In the above linked script that’s line number 29.


David Waterman

January 30, 2014 at 9:15 am

Josh,

That was my issue – I created a function way back and this was located in the theme/function.php file – the function was registering new users after any event registration which also was sending the email out.

Thanks for your help.

Viewing 4 reply threads

The support post ‘Stop new user registrations from getting verification emails’ 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