Okay
  Public Ticket #2671611
Employees not receiving email notifications
Closed

Comments

  •  2
    Amanda Pereira started the conversation

    My employees are not receiving email notifications when a student books with them to let them know that they were booked. This employee has set up her Google Calendar to sync already. Also, she is not seeing the student's contact information. How can I fix it so my employees get notified when someone schedules an appointment without having to login to the employee panel and check? And how can they see the student's email or other contact info? 

    Lastly, in order to set up email notifications about appointment reminders, it says to copy the link into my cron. What is a cron and how do I do this?

    Thank you!

  • Michael replied

    I am going through the same exact thing Amanda worst part is I have clients who can't see that they have been booked too

  • [deleted] replied

    Hello Amanda, 

    Could you please tell me what Mail service have you chosen in Amelia -> Notification settings? Have you followed our instructions for setting this up? We don't recommend using PHP Mail as the email sent this way can end up as spam/junk or take more time to be sent/received. 

    If you use SMTP it can be used with Gmail like we provided an example for or any other mail service provider, but you need to have a configuration they need for that. Sometimes using SMTP for some providers like Gmail or similar is not supported by the hosting/server. So you need to check this out with your hosting, if SMTP is allowed on the server and what configuration is needed for SMTP sending emails.

    If you have some other plugin for this purpose, sending emails/ SMTP, on your website, then you need to choose WP Mail as a Mail service in Amelia and it will use that other plugin's configuration for sending emails. 


    cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.

    Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.

    Also, you can try this:

    */15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"

    Or this:

    */15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'

    Or this:

    GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null

    If you are not familiar with setting this up and the above doesn't help, my suggestion is to install the WP Crontrol plugin. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.