Support

Home Forums Event Espresso Premium registration email not sending

registration email not sending

Posted: December 23, 2020 at 10:33 am

Viewing 9 reply threads


TheEA

December 23, 2020 at 10:33 am

The registration confirmation email is not being received by the registrant. I am using an SMTP email service and I have verified that it is working properly. Please watch the following video and let me know what I might try.

My name is Rod and I work for Sarah, the owner of this account.

https://www.dropbox.com/s/pnggt47gkiuecj7/registration_email_not_sent.mp4?dl=0


Tony

  • Support Staff

December 23, 2020 at 1:29 pm

Hi Rod,

So, that’s a strange one.

First, what are you using to direct the mail to SendInBlue?

I didn’t see the Sendinblue plugin in the video so just checking to see how you’ve set that up. Looking at the SendInBlue logs, it doesn’t show any EE emails as far as I can tell (the subjects don’t match what I would expect to see) which suggests the emails aren’t being passed to send in blue correctly, if at all. So that is what I would start investigating, how your site connects to SendInBlue.

You mentioned you have a custom message template and show the ‘Registration Approved’ message type for that, but in your custom message templates, you only have custom templates for the Receipt and Payment Received message types.

There is no receipt ’email’ that custom Receipt template is for the receipt itself rather than an email, that’s why you can’t send a test email from that template as its not actually an email. You can send test emails from custom templates etc, but not from templates that are not emails.


TheEA

December 23, 2020 at 5:02 pm

This reply has been marked as private.


TheEA

December 29, 2020 at 5:41 pm

This reply has been marked as private.


Tony

  • Support Staff

January 1, 2021 at 9:17 am

Hi there,

My apologies for the delay in getting back to you here.

If you can send over temp login details I’ll take a look and see if anything stands out, to send credentials you can use this form:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

January 4, 2021 at 12:49 pm

Hi there,

You said you’ve confirmed the emails are working, may I ask how you’ve confirmed this?

I tested the standard emails within WordPress by changing the fake email address linked to the account you gave to me to a valid EE support email but I’m yet to receive an email from your site.


TheEA

January 4, 2021 at 3:34 pm

Hi, Tony:
Here is a screenshot from our transactional email log. Note that several emails have been sent through the site and opened by the customer. Also, I submitted the site contact form prior to opening this ticket and can confirm that the email was sent to admin.
https://imgur.com/81CFTyg


Tony

  • Support Staff

January 4, 2021 at 4:08 pm

All that is showing is WooCommerce orders, so are you not getting any other email?

Install the plugin Check Email and send a test email from the site, does it then show up in those logs?


TheEA

January 5, 2021 at 7:47 am

This reply has been marked as private.


Tony

  • Support Staff

January 5, 2021 at 4:50 pm

So, I created a SendInBlue account, tested this and got the same result in that EE emails showed as sent but nothing in the SendInBlue account.

Did some digging and added a bunch of debug code to the SendInBlue plugin to find that it’s rejecting the emails (it would be great if they threw an error here but for some reason, they return true for wp_mail and that would indicate the email sent successfully…. even though they rejected it).

When sending an email through EE, SendInBlue return this:

[05-Jan-2021 21:57:46 UTC] Array
(
    [code] => invalid_parameter
    [message] => Invalid headers
)

Long story short, the SendInBlue plugin does not consider headers like this:

Array
(
    [0] => From:me@example.com
    [1] => Reply-To:me@example.com
    [2] => Content-Type:text/html; charset=utf-8
)

To be valid… because there is no space after the : (which is actually valid) so for SendInBlue they need to be:

Array
(
    [0] => From: me@example.com
    [1] => Reply-To: me@example.com
    [2] => Content-Type: text/html; charset=utf-8
)

Which would be so much easier to spot if they threw an error, log entry, anything! Anyway, we have a filter on the headers set within EE so you can fix this using something like:

https://gist.github.com/Pebblo/f9fb3e2be442bf85a907696573de183d

Add that to a custom functions plugin and it should fix EE emails within SendInBlue. We have some documentation on creating a plugin here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 9 reply threads

The support post ‘registration email not sending’ 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