Support

Home Forums Event Espresso Premium Needto change email address on ticket emails

Needto change email address on ticket emails

Posted: January 28, 2017 at 10:50 am


anotheropus

January 28, 2017 at 10:50 am

Hello guys,

Ticket recipients get their email from an email address I need to change.

I’ve gone through every setting page I can find and I don’t know why people are getting tickets in email from the wrong email address (the one I set up the site with for testing).

The correct email is in place in
WordPress General Settings, and
Event Espresso – General Settings, Primary Contact Email

I also use Mail Poet Newsletters, and
PotmanSMTP (using Gmail–but not the one the tickets are sent with).

But all of these areas have the desired email address,

I’m hoping you guys can point me in the right direction.

And, just for fun–this next week I’m going to take the site off of Gmail and start using an Amazon SES email server for everything on the site.

Thank you for the help!

Chris


Tony

  • Support Staff

January 30, 2017 at 5:21 am

Hi Chris,

What you say ‘ticket emails’ is it all emails sent by EE or just the ticket notice emails?


anotheropus

January 30, 2017 at 5:32 am

Thank you Tony.

I get the following emails from the address I want to change:

Admin Registration Notification emails
Ticket purchaser Your Event Registration Details emails
Ticket purchaser Print Your Ticket emails
Ticket purchaser Event Payment Details emails
(there may be others–but I’m the admin not a ticket purchaser)

I *NEED* to (MUST) change the reply to email address.

Thank you,

Chris


Tony

  • Support Staff

January 30, 2017 at 6:05 am

Sounds like its all emails.

Go to Event Espresso -> Messages -> Default Message Templates.

Find the Registration Approved message template and click to edit.

What does it show in the ‘FROM’ field for the message template? it should be [CO_EMAIL]http://take.ms/mHyRC


anotheropus

January 30, 2017 at 6:08 am

It does show this:

[CO_EMAIL]

Screenshot: https://www.screencast.com/t/9bLcaSSgq8p


Lorenzo Orlando Caum

  • Support Staff

January 30, 2017 at 6:26 am

Hi Chris,

Are there any transactional email services in use on the site (e.g. Sengrid, Mailgun)?

Also, is the from email address for a user account?

If so, could you check to see if any custom email templates were created?

Event Espresso –> Messages –> Custom templates tab

A custom email template that is assigned to an email will override the global (default templates).


Lorenzo


anotheropus

January 30, 2017 at 7:30 am

Hello Lorenzo,

I use PostmanSMTP to send email through Gmail.

The from email is a user account.

I created custom email templates, but they all have [CO_EMAIL]

Thank you for the help.

Chris


Lorenzo Orlando Caum

  • Support Staff

January 30, 2017 at 8:16 am

Hi Chris,

I’m not able to duplicate this issue so I have a couple other questions.

Is the email that is set to on the from field also the same email from the Gmail account?

The CO_EMAIL shortcode pulls from Event Espresso –> General Settings –> Your organization settings. Is that email up to date?


Lorenzo


Tony

  • Support Staff

January 30, 2017 at 9:27 am

Just to note, Event Espresso 4 uses the same address for the ‘from’ and ‘reply-to’ headers within the emails.

If something is changing JUST the reply-to header, that’s not Event Espresso however its also possible for another plugin to alter the email headers to alter the FROM fields AFTER Event Espresso has triggered the emails adn send over all of the details.

Have you checked within Postman to confirm you have updated the sender within your account? EE sends the emails to wp_mail, when using Postman its takes over PostMan and sends them to Postmans servers, they can change whatever they want in the headers at that point.


anotheropus

January 30, 2017 at 3:25 pm

Lorenzo and Tony,

Thank you for all of this extra support.

Hopefully this can help others as well at some time.

The issue at hand is that the site is sending all Event Espresso emails from my personal email address, which I originally used to build the site and do testing.

My personal address appears as the FROM and the REPLY TO in all emails ticket buyers get from the site. Oddly enough, this email address is the address I used to create my account and register Event Espresso. For this exercise we’ll call this personal email address EMAIL-01.

Event Espresso > General Settings
(../wp-admin/admin.php?page=espresso_general_settings)
uses our support@ email address, which is ALSO used by WordPress General Settings.
We’ll call it EMAIL-02.

Postman SMTP > Settings
(../wp-admin/options-general.php?page=postman%2Fconfiguration)
uses the GMAIL API, with a FROM address that is a Gmail address–which is *NOT* my personal email address. We’ll call it EMAIL-03.

The only other place where an email address is used in Mail Poet Newsletters > Settings
(../wp-admin/admin.php?page=wysija_config)
And there are two settings here.
1. FROM email address (we’re using no-reply@ –call it EMAIL-04)
2. Send with > Delivery Method = PHP Mail

THIS may be the culprit!

More as I discover it.

Chris


Tony

  • Support Staff

January 30, 2017 at 5:44 pm

One way to test this is to de-activate the Postmark, SMTP and other email related plugins and run a test registration.

Then see which address is used for the From field, based on your EE settings it should be the email set within Event Espresso -> General Settings -> Primary Contact email (as your message templates are using [CO_EMAIL])


anotheropus

January 30, 2017 at 8:04 pm

Thank you Tony.

I traced the complete email header and discovered that PHPMailer is the culprit. No matter what the several settings are on the site, in the end PHPMailer is setting the FROM and REPLY-TO.

So, now I’ve got to figure out a couple of things.

The main thing I want to do is to tell ALL things on the site to use the Amazon SES web server to send the emails.

And while the MailPoet plugin has settings for that–I have no idea how it reacts/integrates with all other elements sending emails on the site.

So my instinct is that I need to go to the server level, and use scripts from Amazon SES, to tell the server to send email (from this domain/install only), to send all emails via Amazon SES.

Then I can delete the Postman SMTP plugin entirely–removing one variable.

MailPoet does not have the best support system (compared to you guys). No forum; only email form interaction.

Why am I using them? This client sends over 1 million emails each year, and with my working for them I expect to triple that. Using any of the Aweber, GetResponse, Constant Contact types this costs $ 5,000 per year or more.

MailPoet = $ 99 annually, and Amazon SES is ten cents per 1,000 emails!

I’m saving thousands per year.

Chris


Tony

  • Support Staff

January 31, 2017 at 10:08 am

And while the MailPoet plugin has settings for that–I have no idea how it reacts/integrates with all other elements sending emails on the site.

Everything on your site should (and likely will be) sending mail via wp_mail(), the MailPoet plugin should just be hooking into that function to change where the email is sent so it shouldn’t cause problems with other areas of your site, although obviosuly I can’t be 100%.

So my instinct is that I need to go to the server level, and use scripts from Amazon SES, to tell the server to send email (from this domain/install only), to send all emails via Amazon SES.

You shouldn’t really need to do that, there are multiple plugins for SES, for example:

https://en-gb.wordpress.org/plugins/wp-ses/
https://en-gb.wordpress.org/plugins/wp-amazon-ses-smtp/

A quick google found this guide:

https://wordimpress.com/using-amazon-ses-send-wordpress-emails/


anotheropus

February 2, 2017 at 2:34 pm

Thank you Tony.

I totally missed the obvious–to go and look for an Amazon SES plugin!

Because you shared these links, I did a bit of research and decided to install the WP SES plugin.

WP SES does exactly what it promises–right out of the box. I added my credentials and I was up and running on the Amazon SES server.

For anybody following this, here’s what I’ve got using email and what I’ve decided to do.

1. Dedicated physical server (high-end dual processor, eight core 64 GB memory).

2. X-Theme for the theme framework (I’ve used many incl. many premium frameworks, StudioPress Genesis, and Elegant Themes) for hundreds of client sites — including one that goes up to 30 million hits per month.

3. Event Espresso for event management; super tool, and as you can see–outstanding support.

4. PaidMembershipsPro to manage membership (Again here, I’ve used them all since 2008: s2Member, WishList, DAP, WPMUDEV Members… ONLY PMP PaidMembershipsPro has open source programming that allows all users to enhance the plugin without slicing off ridiculous monthly fees for features as you must do with WishList).

5. MailPoet Newsletters using Amazon SES, to cut emailing costs to tens of thousands of users), down to one tenth of the cost of using Aweber, Mail Chimp, GetResponse, and Constant Contact–all of which I’ve used). I’m saving my client a minimum of $ 2,400 per year (at their lowest emailing volume)!

6. WooCommerce, using several YITH premium add-ons. If you’re using WooCommerce don’t pay for WooCommerce Add-ons and extensions–sign up for YITH membership and never look back.

I decided to install WP SES, and tell all other plugins to use the default WordPress email sending. Because WP SES is installed and using my Amazon SES server, everything on the site now goes through Amazon SES.

Simple and clean. One point of access for all things email.
(and while Amazon is relatively new and unheard of, I think it will be reliable)

Chris

The support post ‘Needto change email address on ticket 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