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

10 lines
368 B
Bash
Raw Permalink 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
2020-06-11 14:12:32 +02:00
php bin/console swiftmailer:spool:send --message-limit=200 --env=prod --transport swiftmailer.mailer.sendmail.transport
else
2020-06-11 14:12:32 +02:00
php bin/console swiftmailer:spool:send --message-limit=200 --env=prod
fi