Support

Home Forums Event Espresso Premium EE4 Email Templates with error in confirmation email

EE4 Email Templates with error in confirmation email

Posted: June 25, 2014 at 12:47 am

Viewing 17 reply threads


Ray

June 25, 2014 at 12:47 am

Hi

I have to reopen this case. We cant resolve it with toggle messages off/on.
We just got an order with html code in the confirmation. I rechecked after toggling settings on/off. Did not work at all.

https://eventespresso.com/topic/again-email-registration-pending-payment-ee4-with-css-incorrect-template-2/#post-100071

please advice.
Ray


Dean

June 25, 2014 at 4:55 am

Hi Ray,

This has come up a few times on the forums, though we have never been able to recreate this.

One customer found that after changing mail server it resolved the issue. What we think is happening is that the emails are being flagged as spam and as such being sent as plain text rather than HTML. This would mean there is very little we can do about it.

MailChimp discuss a very similar issue here http://kb.mailchimp.com/article/my-emails-are-being-delivered-as-broken-html-code-or-an-attachment/

One option would be to try the Mandrill plugin (also by MailChimp) https://wordpress.org/plugins/wpmandrill/ (you will need a Mandrill account, but it is free to begin with).


Ray

June 25, 2014 at 5:59 am

In case of Spam I aggree, that you cant do very much. I believe that it has to do with EE4 – it wasnt here before. We have no issues with Mailchimp or any other emails…

Last time it came up we restarted Message settings – that worked and does not influence the mail server. This time it didnt.

Here the link to the email confirmation.
Can you please have a look and let me know what the facts are? https://dl.dropboxusercontent.com/u/48841833/Registration%2C%20pendente%20Zahlung.eml

Thanks,
Ray


Dean

June 25, 2014 at 6:32 am

Hi Ray,

I compared your email source to an email that I sent from a test site.

The only real difference that I can see is here:

Received-SPF: none (google.com: web113@tux213.hoststar.ch does not designate permitted sender hosts) client-ip=85.10.192.7;
Authentication-Results: mx.google.com;
spf=neutral (google.com: web113@tux213.hoststar.ch does not designate permitted sender hosts) smtp.mail=web113@tux213.hoststar.ch

Your Received SPF is none, compared to mine which is Pass, and your spf=neutral, whereas mine is spf=pass.

Now I don’t know enough about email processes to say that that is definitely the issue, but that is the only difference (structurally) between your email that shows plain text and my HTML email.

This was tested with EE 4.2.4 to match your own site.

If you wanted to look into the SPF aspect to see if that is definitely the issue, I believe you will need to refer to your host for assistance.

You can also try Mandrill as that will route everything via their servers so the SPF should pass.


Ray

June 25, 2014 at 7:12 am

we have tested it with mandrill.
It still sends messages with CSS in the header to the admin.
Not to the clients email though, these are fine with Mandrill.

where do you think the problem is?
please advice


Lorenzo Orlando Caum

  • Support Staff

June 25, 2014 at 10:33 am

Hi Ray,

From your feedback, it sounds like the messages are working for the registrant/attendee but are still broken for the event admin.

Have there been any customizations to that specific message type for the event ddmin?

If not, could you try “resetting” this message type:

WP-admin –> Event Espresso –> Messages –> Locate the Registration Approved messenger and click on Event Admin.

This will take you to the message editor for this specific message type. Then you can click on the reset button to refresh this message type.

If you aren’t sure if any modifications have been made, then please open a new tab with the existing message type and perform the reset in a new tab.


Lorenzo


Ray

June 26, 2014 at 9:03 am

hi lorenzo

the template making problems I have reset (payment pending). It did not help.
more suggestions?

thanks,
ray


Lorenzo Orlando Caum

  • Support Staff

June 26, 2014 at 1:28 pm

Hi Ray,

Could you please create a temporary WordPress admin login so we can take a closer look at this issue?

Please share that temporary login through the secure link below:

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

To prevent delays in troubleshooting, be sure to double check your information on the form before submitting.

The submit button for the form appears after you have answered “Yes” to the last question.

Thank you.


Lorenzo


Ray

June 26, 2014 at 3:20 pm

done.


Lorenzo Orlando Caum

  • Support Staff

June 26, 2014 at 4:21 pm

Hi,

I did get the temporary login. Thank you. I’m going to ask one of the developers to help me with this since we’ve seen it on just a couple sites and can’t duplicate the issue locally.

I’ll send a message privately once I have more information. This message won’t appear here but will arrive as another email.


Lorenzo


Ray

July 3, 2014 at 1:28 am

Hi

I just checked how the emails look like in Google Mail. Please see Registrations pending payment(s) sreenshot: https://dl.dropboxusercontent.com/u/48841833/Bildschirmfoto%202014-07-03%20um%2009.14.24.png

I guess thats also because of the spf records but mainly because the email not sent via Mandrill. Maybe it helps.


Josh

  • Support Staff

July 3, 2014 at 11:42 am

Hi Ray,

Since it works when it’s sent via Mandrill, can you check the mail headers to see what’s there for “X-Mailer:”?


Ray

July 4, 2014 at 2:41 am

We’ve found out that the email is not sent via Mandrill. Probably because some headers are sent along. Here is are the headers:

Delivered-To: ray.popoola@mindgroup.ch
Received: by 10.96.182.201 with SMTP id eg9csp246452qdc;
Fri, 4 Jul 2014 01:24:03 -0700 (PDT)
X-Received: by 10.181.8.204 with SMTP id dm12mr16428313wid.67.1404462243147;
Fri, 04 Jul 2014 01:24:03 -0700 (PDT)
Return-Path: <web113@tux213.hoststar.ch>
Received: from tux213.hoststar.ch (tux213.hoststar.ch. [85.10.192.7])
by mx.google.com with ESMTPS id q12si6219089wie.29.2014.07.04.01.24.02
for <ray.popoola@mindgroup.ch>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Fri, 04 Jul 2014 01:24:02 -0700 (PDT)
Received-SPF: none (google.com: web113@tux213.hoststar.ch does not designate permitted sender hosts) client-ip=85.10.192.7;
Authentication-Results: mx.google.com;
spf=neutral (google.com: web113@tux213.hoststar.ch does not designate permitted sender hosts) smtp.mail=web113@tux213.hoststar.ch
Received: from tux213.hoststar.ch (localhost [127.0.0.1])
by tux213.hoststar.ch (8.13.8/8.12.11) with ESMTP id s648NurB016816
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <mail@mindgroup-professionals.ch>; Fri, 4 Jul 2014 10:23:56 +0200
Received: (from web113@localhost)
by tux213.hoststar.ch (8.13.8/8.12.11/Submit) id s648Nupu016812;
Fri, 4 Jul 2014 10:23:56 +0200
To: Ray Popoola <mail@mindgroup-professionals.ch>
Subject: Registration Pending Payment
X-PHP-Originating-Script: 1395:class-phpmailer.php
Date: Fri, 4 Jul 2014 08:23:56 +0000
From: Ray Popoola <mail@mindgroup-professionals.ch>
Message-ID: <1a4de1c601cb5bd8b6df4503a55a0895@mindgroup-professionals.ch>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Reply-To: Ray Popoola <mail@mindgroup-professionals.ch>
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Scanned-By: mimedefang-scanned on 127.0.0.2


Lorenzo Orlando Caum

  • Support Staff

July 8, 2014 at 2:26 pm

Hi Ray,

Could you take a look at this page: http://help.mandrill.com/entries/21681347-How-do-I-set-up-sending-domains-

Please add your domain as a sending domain (http://awesomescreenshot.com/096345zg12) and then update your DNS records:

http://help.mandrill.com/entries/22030056-how-do-i-add-dns-records-for-my-sending-domains


Lorenzo


Ray

July 9, 2014 at 2:39 am

Hi Lorenzo

We’re missing the point here. Only this email is not sent via Mandrill, because some headers are passed to Mandrill.
I don’t understand how the system works, otherwise I’d search for it myself. I got so far, that this email seems to be parsed wrongly.

The confirmation email to the client works fine via Mandrill. Mandrill is set up properly.

Thanks,
Ray


Lorenzo Orlando Caum

  • Support Staff

July 9, 2014 at 11:32 am

Hi Ray,

Mandrill will send emails if you only setup the API key & needed WP plugin.

Please also set these up if you haven’t already done so:

https://eventespresso.com/topic/ee4-email-templates-with-error-in-confirmation-email/#post-106110

There are some issues with the SPF as Dean shared here:

https://eventespresso.com/topic/ee4-email-templates-with-error-in-confirmation-email/#post-103822

Please go to the Registration Approved message type for the Event Admin. Then try adding an alternative email address that is not on your domain and saving changes.

Here is a screenshot of the option:

http://cl.ly/image/0F3C04182i1b

Then try a registration.

Are the emails then still broken for the admin (event admin)?


Lorenzo


Ray

July 9, 2014 at 12:16 pm

Hi Lorenzo

Thanks for the update.

As said, Mandrill works just fine.

The email with issue is ((Registration Pending Payment)).
We tested and changed the ((To Address)) in the ((Event Admin template)).

Test results:
– mail at mindgroup-professionals.ch, same domain (works)
– ray at popoola.com, different domain (works)
– [SITE_ADMIN_EMAIL] (works)
– [EVENT_AUTHOR_FORMATTED_EMAIL] (does NOT work)
– [EVENT_AUTHOR_EMAIL] (works)

I believe the issue is clear now.

I’d see the trick as a work around, not a solution.
But works for me for now.

Please keep me posted if anything comes up.

Thanks,
Ray


Lorenzo Orlando Caum

  • Support Staff

July 9, 2014 at 2:02 pm

Hi Ray,

I’ve done testing on this and I can’t duplicate the issue even though I also use Mandrill on my testing sites along with Google apps based emails.

I recommend continuing to use one of the other shortcodes or replacing it with your email address.


Lorenzo

Viewing 17 reply threads

The support post ‘EE4 Email Templates with error in confirmation email’ 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