• Resolved fabian96

    (@fabian96)


    Hello,

    could you please add support for the normal WP Mail? There are a lot of plugins that modify WP Mail so that all these mails are sent over SMTP. Iβ€˜ve also set a reply-to address there. It would be desirable to have the option to use WP Mail instead of specific SMTP settings.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Patrick

    (@duisterdenhaag)

    Hi Fabian,

    I don’t think I will put that in, because EM has filters that are not called with wp-mail().

    Hello,

    that really is a shame. It is recommended very often to use a plugin which modifies WP Mail to establish a reliable email β€žprogramβ€œ. Events Manager recommends that, too. This way all emails sent have the same structure (email and name of sender, reply-to address etc.) Support of WP Mail therefore would be very nice!

    Plugin Author Patrick

    (@duisterdenhaag)

    No! EM is programmed in a way that wp_mail does NOT allow you to filter/hook on recipients or booking status or anything.
    All those other plugins do is take over wp_mail AFTER EM has finished sending to it. So anything you change in wp_mail goes for ALL emails.

    My plugin is programmed so that it makes all those 100% obsolete for EM, especially for the premium version.

    Again: wp_mail has many restrictions as is most of the time the easiest, but c
    certainly not the best option

    Plugin Author Patrick

    (@duisterdenhaag)

    Hi Fabian,

    To clarify a bit more. Sending bulk emails to users, is sort of the same as the EM Event Reminders. And even they clearly say in the settings:

    Important!, you should use SMTP as your email setup if you are sending automated emails in this way for optimal performance. Other methods are not suited to sending mass emails.

    Of course, the “in this way” refers to the cron task for event reminders, but it is still mass email sending. πŸ˜‰

    Hi Patrick,

    I know what you mean. Surprisingly, they say in another way on this page: https://wp-events-plugin.com/documentation/mail-settings/

    Anyway, it would definitely be very nice if you added a option to set a replay-to address.

    Plugin Author Patrick

    (@duisterdenhaag)

    And that, adding a ReplyTo, is exactly one of the things that is not possible if you are using EM with wp_mail(). πŸ˜‰

    Within wp_mail(), you would add the replyto for both the customer and admin. That would just inverse the current issue in EM emails. Sendmail and SMTP do allow you to hook into only admin OR customer emails. πŸ™‚

    The Premium version does have the ReplyTo option built-in. πŸ˜‰
    Still doing some testing (mainly for PDF tickets and automated follow-up emails) before I can release that.

    • This reply was modified 7 months, 3 weeks ago by Patrick.
    • This reply was modified 7 months, 3 weeks ago by Patrick.

    Thanks for your clarification. What exactly is the problem of adding the reply-to field to both the customer and the admin emails?

    I really like your work for this and other plugins but I wonβ€˜t need all those upcoming premium features. It would be very nice if you added the reply-to field to the free version, too as this is more a basic function than all the other features.

    Plugin Author Patrick

    (@duisterdenhaag)

    I have to create a new action within EM itself in order to do that. That is why it is not part of the free version… The way EM handles their wp_mail just does not allow that.

    Currently EM sends all emails with the same from sender, even on MultiSite. So if the customer hits reply, the email goes to the Admin (GREAT!). But the same goes for the Admin. So if he hits reply, he will send the email to himself. That makes it hard(er) for Admins to reply to comments/questions in the booking, etc.

    If you change the ReplyTo for all emails, you will just be inverting the exact same problem. For example, if you change the ReplyTo for all emails to the customer email, then the Admin can send replies, but the customer will send those to themselves. That’s asking for complaints… I often have customers reply to the confirmation email with additional questions.

    So you would need to be able to target the correct outgoing email in order to “solve” that problem. And again, wp_mail is (within EM) far too limited for that.

    For EM it even worse if you are using MultiSite. Then you can only set the outgoing email settings per installation. So the exact same credentials for all subsites as well, because that settings section is only available in the Network Admin and not per blog. If you are using Domain Mapping (one of the most common reasons to use MultiSite), EM will always send all emails with the identical From Address.

    I have Stonehenge Creations as my main site, but I do my city tours as Gids Patrick (in Dutch) and Guide Patrick (in English) – the sub sites. For branding purposes I do not want attendees of my Dutch city tours to receive an email confirmation from Stonehenge Creations. Nor do I want my webdesign business clients to receive emails from Guide Patrick. That is not only very unprofessional, but also confusing.
    Personally, I believe that that is a design flaw. Keeping those settings per blog would have made more sense…

    You have to dig into the core code to alter that. Again, EM in wp_mail is almost impossible to do that update-proof. Sendmail or SMTP allows that quite easily…

    Plugin Author Patrick

    (@duisterdenhaag)

    this is more a basic function than all the other features

    I do somewhat agree with you on that. πŸ˜€ I added several options for enhancing default EM emails to the Premium version. They should be more seen as extras. The main reason to get the Premium version should/would be the other main options, such as follow-ups, attachments and PDF Tickets. πŸ˜‰

    You know, that is actually one of the main reasons why I started to create my EM Add-ons… Reading both their free and Pro forums, I noticed that a users were having the same or similar issues. So I created the add-on plugins to solve that for us all.
    I do agree that things like ReplyTo, plain text version for HTML emails and email settings per blog should have been native to EM itself.

    At first I started out to make the complete Email Add-on for free. But it turned out that a lot (a lot) of hours went into developing that. Also, I expect a lot of support questions, because of the many options – not only in my add-on, but also in EM itself. (Single Bookings, Multiple Bookings Mode, Attendees, MultiSite, Front-end submissions, etc.)
    So I had to come to the realisation that I could not do that for free. After all, I do like to have a daily meal as well. LOL πŸ˜‰

    • This reply was modified 7 months, 1 week ago by Patrick.
    fabian96

    (@fabian96)

    Hi Patrick,

    as I have written in the EM Pro forum, I’ve tried to use your provided snippet to add a reply-to address to the outgoing emails. Unfortunately, it does not works but shows a list of errors when trying to send an email via the bookings page. Could you please tell me what I’m doing wrong in this case? I am using SMTP for sending emails.

    Plugin Author Patrick

    (@duisterdenhaag)

    Fabian,
    I am an not going to repeat my previous reply.

    I told you why and that it will be a premium feature.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP Mail’ is closed to new replies.