• Resolved il_gianni

    (@il_gianni)


    Hi, since a couple of months I get no longer admin notification if the person who makes the reservation does not fill the email field in the form (which is not mandatory). I have not changed the settings in the notification panel and I have not updated the plugin (now 2.5.4) nor wp (4.7.13). My mail is …@google.com. What is the problem?

    Thanks in advance and regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    Please update at least Pinpoint Booking System to the latest version and check if the issue still exist.

    Thank you!

    Thread Starter il_gianni

    (@il_gianni)

    Hi, I have just updated the pluging to the latest version but unfortunately the problem remains.

    The domain of my email is gmail.com and not google.com.

    What can I do now?

    Thread Starter il_gianni

    (@il_gianni)

    I have solved the problem this way:

    in this path

    /wp-content/plugins/booking-system/includes/reservations/

    there is this file

    class-backend-reservation-notifications.php.

    When you open it, search this paragraph

    /*
    * Set email info to user or buyer.
    */
    if (strpos($template, ‘admin’) !== false){
    if ($DOPBSP->classes->prototypes->validEmail($settings_notifications->email) == ”){
    return false;
    }
    $email_to = $settings_notifications->email;
    $email_from = ‘***@gmail.com’; //$reservation->email;

    I edited the last line (in bold) and now when the user leaves the “email” field empty among his contacts, I am able to get the admin notification with my own email address as sender.

    • This reply was modified 5 years, 8 months ago by il_gianni.
    Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    Glad that you found a solution for your issue and thank you for sharing this with all of us.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Admin notification’ is closed to new replies.