Setup
Head over to Job Listings > Settings > Job Alerts to configure the plugin’s settings.
- Alert Email Content – This option controls the content of your alerts emails. Emails are plain text.
- Alert Duration – Entering a number here will cause a users alerts to expire are X days. When expired, the user can login to their alerts page to re-enable them for another X days.
- Alert matches – Enable this to ensure that an email is only sent if jobs are found that match your alert. If this is disabled, an email will be sent every time the alert is checked, even if there are no matches.
- Alerts Page ID – Select the page where you have placed the [job_alerts] shortcode, so the add-on knows where to link users to view their alerts.
How alerts are sent
Once an alert is created (or enabled) a WordPress cron event will be scheduled. When this event is triggered, the alert will be sent and another cron will be scheduled. This process will repeat whilst the alert is active.Ensuring cron jobs are triggered for low traffic sites
WP Cron jobs are triggered when the site is visited by a user or bot. If you want cron jobs to trigger more often or more reliably, consider this tutorial:Â https://tribulant.com/blog/wordpress/replace-wordpress-cron-with-real-cron-for-site-speed/
How user can enable alerts
Users can enable job alerts either by clicking “alert me to jobs like this” on job page or manually in dashboard
Emails aren’t getting send
Ensure WP cron is not disabled. Check for this in your wp-config file:
define('DISABLE_WP_CRON', true);
If you see this, remove it!.
Wrong “from” email address
Alert emails are set up to be sent from “noreply@yourwebsite.com“
However, with some hosts, if this address doesn’t exist as a mail account on your server, then it may be replaced, so you will find alert emails being sent from an email address belonging to your hosting provider.
If this happens, you can fix it by creating a mail account with your host for “noreply@yourwebsite.com“