Email Tickets to Customer and Another Email Address

Home Forums Ticket Products Event Tickets Plus Email Tickets to Customer and Another Email Address

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1320303
    Jason
    Participant

    Modern Tribe,

    I would like the same tickets that are emailed to the customers to be emailed to another email address.

    Example: Customer buys ticket. Ticket is emailed to customer. Ticket is also emailed to admin email address.

    I found this code below, but it doesn’t work. Please advise.

    /*
    * Send Ticket Info to Admin as Well
    */

    function tribe_add_admin_email_to_rsvp_email_recipient( $to ) {

    if ( ! is_string( $to ) ) {
    return $to;
    }

    $combined_to = array(
    $to,
    [email protected]
    );

    return $combined_to;
    }

    add_filter( ‘tribe_rsvp_email_recipient’, ‘tribe_add_admin_email_to_rsvp_email_recipient’ );

    #1320860
    Cliff
    Member

    Hi, Jason.

    Please check out this code:

    https://gist.github.com/cliffordp/c4fb2ea8fb5ca44973ff06e6facc9742

    Please let me know how this goes for you.

    #1330769
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Email Tickets to Customer and Another Email Address’ is closed to new replies.