Events Made Easy Forums How do I … How do I send emails to all eme registered persons?

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #57274
    Anonymous
    Inactive

    I want to send eMails for an event. I choose “eMail to all EME registered persons”. But I only get an error “problems with sending emails”. When I choose “eMail to all WP users” it works fine. I am using WP Mail. Any ideas?

    #57275
    Franky
    Keymaster

    Do you have queuing activated?
    If not, it should give you a list of persons to which the mail has not been sent.
    Also: do any of your EME-registered persons have the massmail-option selected? If none have that selected, mailing will fail too.

    #57276
    Anonymous
    Inactive

    Hi Franky,
    it makes no difference if queuing is on or not. I don’t get any hint…
    Yes – all my persons have massmail activated.
    I am in a test setup with only three persons. So this should not be a big problem…

    #57277
    Franky
    Keymaster

    Ok, I figured it out. Problem is due to undefined variables. You’re trying to send a mail to all EME people in the “event” tab for mailings (and I was checking in the “generic” tab).
    Now this is fixed in the current dev-version. You can download and test it here:
    https://wordpress.org/plugins/events-made-easy/advanced/

    #57278
    Franky
    Keymaster

    Or to make it easier: I just released the latest version (2.0.15)

    #57284
    Anonymous
    Inactive

    Hi Franky,
    you are my hero – now it works fine.
    I have one final question, then I will be the happiest man on earth! I want to have a hint to an event in my generic email. I wrote:
    “A new event is posted: #_EVENTFIELD{27}”. But the event is not shown in the mail. 27 is the event ID which I found in the event list in the ID column. What do I do wrong?

    #57286
    Franky
    Keymaster

    #_EVENT-related placeholders only apply in event-related mails (like the tab-titles imply).
    So if you want to send a mail concerning an event to all people, go to “event related mails”, select the event of your choice and send the mail.
    Also #_EVENTFIELD is to show database-named column info for an event, not an id. There you should just use #_EVENTNAME or so, see the doc concerning event placeholders.

    #57287
    Anonymous
    Inactive

    Hi Franky,
    thanks for this information. My idea was to send a reminder for a special event to only to a group of persons to a predefined time (which allows only the generic mail). I think for my application I need a mixture of both mail areas. Sending an email to a predefined time for a special event to only a group of persons…
    Best regards and a happy new year!

    #57288
    Franky
    Keymaster

    Planning is now possibe in the dev version.
    You can download and test it here:
    https://wordpress.org/plugins/events-made-easy/advanced/

    #57349
    Anonymous
    Inactive

    Hi Franky,
    since the last update it is no more possible to send scheduled mails from the generic tab. When I click to the row “date” the calendar does not open (but it does in the event tab).
    By the way: it would be great if you coul add a function that allows to send emails to a group of persons in the event tab (like the function in the generic tab). Tanks a lot.

    #57350
    Franky
    Keymaster

    Hi, I noticed that bug too and fixed it yesterday in the dev version. I’ll release this weekend.
    And you’re right with your suggestion concerning groups and event mails, but you can use event shortcodes (not placeholders) on the generic mail tab too (I fixed the remark at the bottom concerning “people placeholders” in the dev version too).

    #57353
    Franky
    Keymaster

    Btw, the next version will allow event mails to specific eme people and/or groups too.

    #57354
    Anonymous
    Inactive

    Hi Franky,
    the new version works fine! Thank you!

    #57360
    Anonymous
    Inactive

    Hi
    I would like to send an email alert to all members when we add a cycling event.
    I have tried the following in the default WP theme Twenty Seventeen functions.php

    add_action(’eme_insert_event_action’,’eme_mail_event’);
    function eme_mail_event ($event) {
    $contact = eme_get_contact ($event);
    $contact_email = $contact->user_email;
    $contact_name = $contact->display_name;
    $subject_format=”This is the new event called ‘ #_EVENTNAME ‘”;
    $body_format=”This is the new event called ‘ #_EVENTNAME ‘”;

    $subject=eme_replace_placeholders($subject_format, $event, “text”);
    $body=eme_replace_placeholders($body_format, $event, “text”);
    $blogusers = get_users();
    foreach ( $blogusers as $user ) {
    eme_send_mail($subject,$body, $user->email, $user->display_name, $contact_email, $contact_name);
    }
    }
    But when I create a new event I do not get an email.
    I have verified mail does work on the plugin and WP.

    What have I missed? Is this related to the bug you found?
    Im on version 2.0.18 also will it work with front end submit?
    Thanks

    #57362
    Franky
    Keymaster

    This is unrelated.
    $user->email should be $user->user_email
    I updated the example on the site too.

    #57364
    Anonymous
    Inactive

    Great that works now.
    Thanks Franky
    Ben

Viewing 16 posts - 1 through 16 (of 16 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top