pouvoir utiliser le serveur d'envoi de mail local au scribe (fixes #26)
This commit is contained in:
@ -1,4 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /var/www/html/ninegate
|
||||
php bin/console swiftmailer:spool:send --message-limit=100 --env=prod
|
||||
ninegate_activer_localmail=$(CreoleGet ninegate_activer_localmail non)
|
||||
if [[ "$ninegate_activer_localmail" = 'oui' ]]
|
||||
then
|
||||
php bin/console swiftmailer:spool:send --message-limit=100 --env=prod --transport swiftmailer.mailer.sendmail.transport
|
||||
else
|
||||
php bin/console swiftmailer:spool:send --message-limit=100 --env=prod
|
||||
fi
|
Reference in New Issue
Block a user