Email notification
If you want to enable mail notification, you need to do the following environment variable configuration (assuming you use Docker to deploy the environment), please refer to configuration section for specific configuration.
environment variable name | environment variable value | example |
---|---|---|
CRAWLAB_NOTIFICATION_MAIL_SERVER | smtp.exmail.qq.com | |
CRAWLAB_NOTIFICATION_MAIL_PORT | 465 | |
CRAWLAB_NOTIFICATION_MAIL_SENDERMAIL | admin@example.com | |
CRAWLAB_NOTIFICATION_MAIL_SENDERIDENTITY | admin@example.com | |
CRAWLAB_NOTIFICATION_MAIL_SMTP_USER | iamawesome | |
CRAWLAB_NOTIFICATION_MAIL_SMTP_PASSWORD | onlyyouknonw |
Next, make sure you select "mail" as the notification channel in the settings page, fill in your target email address in the email field, and then click the "save" button.
The effect of mail message notification is as follows.