- This topic has 4 replies, 2 voices, and was last updated 10 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Send a second email (RVSP)
Tagged: functions.php, RVSP
Hi,
I would like to send a 2nd email similar to the RVSP mail, but with slighty different content.
How do I read out the RVSP Data in PHP? I prefer do it via my functions.php.
Thank You!
Can’t you use the EME functionality for that? It allows to send mails to all attendees or for all bookings …
First of all, thank you for your quick answer!
I prefer, to do it in the functions.php
What i want to create:
User books event and gets all information in an PDF attachment.
I use the “eme_insert_rsvp_action” for triggering mail(). Sending Mail works, but how do I get all the data (E-Mail, Name, Name of event, etc.) just booked via php?
That filter takes 1 argument, let’s assume you called it $booking.
Get the event info like this:
$event = eme_get_event_by_booking_id($booking[‘booking_id’]);
and get the person info for the booking like this:
$person = eme_get_person ($booking[‘person_id’]);
Thank you very much! Works 🙂