Events Made Easy › Forums › How do I … › How do I send emails to all eme registered persons?
- This topic has 15 replies, 3 voices, and was last updated 6 years, 10 months ago by Anonymous.
-
AuthorPosts
-
Sat 30 Dec 2017 at 12:42 #57274AnonymousInactive
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?
Sat 30 Dec 2017 at 17:48 #57275FrankyKeymasterDo 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.Sat 30 Dec 2017 at 18:46 #57276AnonymousInactiveHi 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…Sat 30 Dec 2017 at 19:51 #57277FrankyKeymasterOk, 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/Sat 30 Dec 2017 at 20:02 #57278FrankyKeymasterOr to make it easier: I just released the latest version (2.0.15)
Sun 31 Dec 2017 at 10:49 #57284AnonymousInactiveHi 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?Sun 31 Dec 2017 at 14:03 #57286FrankyKeymaster#_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.Sun 31 Dec 2017 at 16:35 #57287AnonymousInactiveHi 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!Sun 31 Dec 2017 at 18:09 #57288FrankyKeymasterPlanning is now possibe in the dev version.
You can download and test it here:
https://wordpress.org/plugins/events-made-easy/advanced/Fri 12 Jan 2018 at 18:41 #57349AnonymousInactiveHi 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.Fri 12 Jan 2018 at 20:42 #57350FrankyKeymasterHi, 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).Sat 13 Jan 2018 at 10:39 #57353FrankyKeymasterBtw, the next version will allow event mails to specific eme people and/or groups too.
Sun 14 Jan 2018 at 17:24 #57354AnonymousInactiveHi Franky,
the new version works fine! Thank you!Tue 16 Jan 2018 at 22:11 #57360AnonymousInactiveHi
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.phpadd_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?
ThanksTue 16 Jan 2018 at 22:52 #57362FrankyKeymasterThis is unrelated.
$user->email should be $user->user_email
I updated the example on the site too.Tue 16 Jan 2018 at 23:08 #57364AnonymousInactiveGreat that works now.
Thanks Franky
Ben -
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.