Documentation for Prowriters


Email Setup


Configure how you want the application to send your emails. You can either choose SMTP or Mailgun’s API service.  To configure your email please follow the following steps:

  • Go to Settings > Email
  • Now choose “SMTP” or “Mailgun” based on your preference and fill up the rest of the the form. If Mailgun is selected then you have to provide the domain that you registered on mailgun and the mailgun key. If SMTP is selected then enter the correct SMTP credentials
  • Enter an email in the “Email from address” field. The email address will be used to let your recipients know where the email came from
Disable Email

Check the box if you want to disable email functionality from your system

Disable Email/Job Queue

Job queues are employed to enhance the user experience by deferring time-consuming tasks, such as sending emails, until a later time. When the system is required to send an email triggered by a user's button click, it stores a record in the database as a job to execute later.

To utilize this functionality, ensure that you have set up CRON or are using Supervisor to manage Laravel Queue Processes.

Tick the box if you do not wish to enable this feature, although it is recommended.

Setting up CRON

You need to set up only one cron job for the entire application. The method of setting up a Cron may vary depending on your hosting provider. However, here are the general steps to set up your cron:

First, log in to your cPanel, navigate to the Cron Setup page, and configure the settings as follows:

  • Change path-to-your-project/ with the path to the application on your server
  • Make sure your cron is running on the correct PHP version. Sometimes your cron may run on top of different PHP version than what your project is running on, so please be aware of that.

If your server’s default PHP version is different from the required PHP version of the application, you need to specifically mention the required version of PHP in the command like following:

/opt/php71/bin/php /home/your_domain/path_to_project/artisan schedule:run >> /dev/null 2>&1