This package allows you to send emails as a task from ProcessMaker
- Install this package via composer in your ProcessMaker root folder
composer require processmaker/connector-send-email
- 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
- Set the location for your NodeJS executable with NODE_BIN_PATH in your .env. For example:
NODE_BIN_PATH=/usr/bin/node
- Add
MAIL_ENCRYPTION=ssl
to your .env file - Enable less secure apps for your gmail account
- If you have 2-factor authentication enabled, you will also need to create an app password
- Use
php artisan connector-send-email:uninstall
to remove the package setup - Use
composer remove processmaker/connector-send-email
to remove the package
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