ninegate/src/ninegate-1.0/scripts/ninegate-mail.sh

10 lines
368 B
Bash
Raw Normal View History

2018-12-18 09:44:39 +01:00
#!/bin/bash
2019-04-17 17:27:19 +02:00
cd /var/www/html/ninegate
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