Events Made Easy Forums How do I … Send a second email (RVSP)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #52957
    Anonymous
    Inactive

    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!

    #52959
    Franky
    Keymaster

    Can’t you use the EME functionality for that? It allows to send mails to all attendees or for all bookings …

    #52960
    Anonymous
    Inactive

    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?

    #52961
    Franky
    Keymaster

    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’]);

    #53012
    Anonymous
    Inactive

    Thank you very much! Works 🙂

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