This package allows you to send emails as a task from ProcessMaker

Installation

  1. Install this package via composer in your ProcessMaker root folder
composer require processmaker/connector-send-email
  1. Setup the package with the php artisan command
php artisan connector-send-email:install
  • Specify your MAIL_DRIVER
  • Specify your MAIL_HOST
  • Specify your MAIL_PORT
  • Specify your MAIL_USERNAME
  • Specify your MAIL_PASSWORD
  1. Set the location for your NodeJS executable with NODE_BIN_PATH in your .env. For example:
    NODE_BIN_PATH=/usr/bin/node
    

For use with GMail SMTP

Uninstall

  • Use php artisan connector-send-email:uninstall to remove the package setup
  • Use composer remove processmaker/connector-send-email to remove the package

Development

NOTE: If you make any changes to the email you need to build the SSR side of this package separately in resources/js/ssr. See this readme for more info