Enable email notifications
You can configure a connection to your SMTP or SendGrid email services so that you can share assets such as books, views, images, and links with others.
To enable the email service, specify the following parameters in the Planning Analytics Workspace Local configuration file:
- Set
ENABLE_EMAIL
to true to enable email service in Planning Analytics Workspace Local. - Use the
EMAIL_SMTP_URL
orSENDGRID_API_KEY
parameter to configure settings.If you specify bothEMAIL_SMTP_URL
andSENDGRID_API_KEY
parameters, onlyEMAIL_SMTP_URL
is used.- EMAIL_SMTP_URL
- Use the
EMAIL_SMTP_URL
parameter to enable the SMTP email service. The default value of this parameter is empty. The following are examples of SMTP URLs:- EMAIL_SMTP_URL="smtp://username:password@smtp.example.com:587"
- EMAIL_SMTP_URL="smtp://username:password@smtp.example.com:587?secure=false"
- EMAIL_SMTP_URL="smtps://username:password@smtp.example.com:465"
- SENDGRID_API_KEY
- Use this parameter to enable the SendGrid email service; default is empty. This parameter specifies the API key for the SendGrid email account.
- Use
EMAIL_FROM
to specify the sender's email address. This parameter might be required by the email server and is mandatory when you useSENDGRID_API_KEY
. - If your SMTP server uses a custom TLS certificate, add the certificate to the paw/config/certs folder.
- Restart Planning Analytics Workspace services. Note: When you change a paw configuration file, you must run ./scripts/paw for your operating system or click Start in the Planning Analytics Workspace administration tool for your changes to take effect. Only services that are affected by the configuration change will restart.
The Email tab is now available in the user interface when you share a book or view.