Support » Plugin: PTA Volunteer Sign Up Sheets » email sending

  • Resolved delawaregrad

    (@delawaregrad)



    In a previous version, I was able to deactivate email sending upon signup, by commenting out:
    if ($emails->send_mail(intval($signup_id)) === false) { ......

    Is there a spot on the latest version that you can point to, so that I can deactivate sending emails automatically? They are using it as more of an organizational tool.

    thanks for the assistance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    You can comment out those same lines again. There is no option to automatically turn off emails.

    For version 2.1.0, those are lines 259 through 261 of the public class file, class-pta_sus_public.php:

    if ($emails->send_mail(intval($signup_id)) === false) { 
                            $this->messages .= '<p class="pta-sus updated">'.apply_filters( 'pta_sus_public_output', __('ERROR SENDING EMAIL', 'pta_volunteer_sus'), 'email_send_error_message' ).'</p>';
                        }

    Perfect. Thanks, as always, for your quick replies!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘email sending’ is closed to new replies.