Okay
  Public Ticket #2882440
1 hour email remind
Closed

Comments

  • Romedenne started the conversation

    Hello,

    I would like to send some email before the appointment: 

    2 days before

    1 hour before

    15 minutes before.

    I try to use the "creat" new notification" but it doesn't work.

    thank you for helping

    Laurent

  • [deleted] replied

    Hi, Laurent,

    Thank you for choosing Amelia.

    Could you please clarify what you mean by "it doesn't work"? You cannot save these notifications or they are not being sent?

    Please note that scheduled notifications require a Cron to be set on the site. If you didn't set up a Cron yet, we can provide you with a guide on how it can be done.

    Also, please note that the minimum available time for scheduling a notification is 1h before an Appointment.

    Looking forward to hearing from you. 

  • Romedenne replied

    hello Liza

    Thank you for your answers.
    I want to say: the remind is not send. 
    I am interested to receive a step by step tutorial for instal a cron… the only one I found talk about Linux 😅😅. 

    A reminder one hour befor the schedule would satisfy my 👍. 


    thank you 

  • [deleted] replied

    Romedenne,

    Ok, suresmile.png

    If you’re not familiar with setting up crons, I would recommend to use  the Crontrol plugin since it makes the process way easier. For that, please follow the steps below:

    Please install the WP Crontrol plugin on your WordPress.

    Copy only the URL from below a scheduled notification on Amelia -> Notifications page (don't copy this */15*** part, only the part that marked on the screenshot which is starting with http):

    rcUl0RkgORQpUDswVlcnJK8hEUJ59pv1FdYgy94-W656S6sSNbq2l6vV6C7ymxm_pEfhd0HMHB4yX_e-XzgpgyR90PCESIkq3boPFV6Wj7s7aKYdeem_v1gsuH_u7souEs7g7_Bj

    Open the Crontrol plugin on the WP Plugins page, that what you will see:

    Y4qoNAFMkOSRAbfhY_mhJKiPxxSxJ_fUnw9_EHWyUxyhDLueanQgdqhCjCEbz5FDKCpL5JrJErnuyKMK2n3W_1Bd5b3fhIKc8wmYMlJvKXB6cks86K-rg5I3NQATeibIfxCGE3MC

    Click on "Cron Schedules", enter the following details, and click on "Add Cron Schedule":

    mCrtRIH4vG-WAflM8u6Z18g2g10bNDt4bBhjdfTE6qU1YlZP7e8rnTh6uJpNYbAyPFD32eXXf3JPI5AAMgQ5O5BuM8RBLV9I4artn9fHWKc6qM2VSqqbb9edkrxNhpppp1WM8JcX

    Then go to "Cron Event" and add the URL you've copied from Amelia -> Notifications page to this:

    file_get_contents("your copied URL");  

     

    Please don't miss any symbols, especially the ; in the end. So it will look like this:

    mGBYzNzm34zObWRrmCoKqAYVw2yBrOoNS5Gfy2w8dra7MB3KSLKW8ygHE3zDF9U6aBXBMkA7HW4ILy33IvHgkAUeY0Gm0n382nDDTWbzoz_N8X65KrX5qSxVE0XPAEWvSX6Fq0An

    Below it, add the name and set Next Run to your current time + 30 muns (for example, at 12.50):

    RJZEHyQVp3-rNyGLZylxw9yF1i6_67ShZOgWuGUycMM48jCJ4Be-Plv4NkJSDsWoemmybnWyXzwVGKHZZG7mqUrJwanAsB0TUgPbuwlDMgVJC7QK4m_8sBJJ9jFq81LkOP4RDJ1W

    Click on "Add Event".

    After that, you can open Amelia, book a test appointment for the next day, set the Next Day Reminder notification to a bit later time that you set Next Run for (in my example, it's 13:00), and see if you receive a Reminder notification in about 30 mins:

    dkzSi-jcfiWHKQxCU0WbmTW-RUAM95_W6dvFHjaS18kZdqlGoHmQRGyibYlPIoVuK6pQ9n8RULaBG2jVp7PNx09VTSrojWrq8Pe6qEYD3RQKCM5OFBgQTGC3gt_IuNVxNasFfnPr

    Hope that will help.

    PS If after setting Cron through WP Crontrol it still doesn't work, you should reach out to your hosting provider and ask them how to set Cron correctly since they might have some additional settings for that. 

    Hope that will help. 

    Best Regards. 

  • Romedenne replied

    really thank you ;-) ;-) ;-)


    is that all right? (see the picture please)

  • [deleted] replied

    Romedenne,

    Almostsmile.png

    It should be:

    file_get_contents("your copied URL");

    so you have to add file_get_contents(" then your copied link and then ");

    Best Regards.

  • Romedenne replied

    ;-) ;-) ;-) 

    OKAY It seem to works...

    I am doing some tests... All of us works... I attends more results...

    Realy thank you ;-)

  • Romedenne replied

    I receive the mail but...

    There's no details in my email..

    but as you can see, in my email test ( I send with the bottom "send test") all details are on...but the email is note like I created in Amelia...

    I give you some picture in attachement. 

    Have I have to ADD the "cron code" for each notification I create??

    thank you


  •   [deleted] replied privately
  •   Romedenne replied privately
  •   [deleted] replied privately