WordPress.org

Ready to get started?Download WordPress

Forums

Appointment Calendar
Eliminate Pending Confirmation Email? (4 posts)

  1. mothershiparts
    Member
    Posted 1 year ago #

    Is it possible to eliminate the pending confirmation email and only email the confirmation approved? Can you tell me where to find that in the plugin files?

    http://wordpress.org/extend/plugins/appointment-calendar/

  2. FARAZFRANK
    Member
    Posted 1 year ago #

    Hi Mothershiparts,

    Yes, it is possible. And File is appointment-calendar-shortcode.php

    Thanks

  3. patriciaviviane
    Member
    Posted 11 months ago #

    Can You tell me how is it possible? What can I change in calendar-shortcode.php?

    Thanks

  4. FARAZFRANK
    Member
    Posted 11 months ago #

    Hi Patriciaviviane,

    Follow Instructions:

    1. Open file appointment-calendar-shortcode.php in any editor.

    2. Comment out code by checking which notification settings are you using(check mail type)

    If you are using WP MAIL option then, search code and comment out wp_mail() function as bellow:

    //recipent mail
    //wp_mail( $recipent_email, $subject_to_recipent, $wpmail_body_for_recipent, $headers, $attachments = '' );

    OR

    If you are using PHP email option then, search code and comment out mail() function as bellow:

    //client mail
    //mail($recipent_email, $subject_to_recipent, $phpmail_body_for_recipent, $headers);

    OR

    If you are using SMTP email option then, search code and comment out notifyclient() function as bellow:

    //$Email->notifyclient($hostname, $portno, $smtpemail, $password, $admin_email, $recipent_email, $subject_to_recipent, $body_for_recipent, $BlogName);

    Hope this will work for you & Am always available to help.

    Thanks
    ~Frank

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.