Release candidate
...
Administration
Setting up mail notifications
DSN
8min
The DSN is a connection string that contains all the necessary connection parameters in a single expression. In Passwork, parameters are used for this purpose:
Edit the Passwork configuration file:
- Linux — /var/www/init/config.env
- Windows Server — C:\inetpub\wwwroot\passwork\init\config.env
- Docker — /<passwork>/conf/keys/config.env
Basic DSN configuration example:
Restart PHP:
Clear Passwork temporary cache:
Gmail with SSL (port 465):
Gmail with TLS (port 587):
Mailtrap with TLS:
SMTP server without encryption:
SMTP server with TLS encryption on port 587:
SMTP server with SSL encryption on port 465: