2018-12-18 09:44:39 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-04-17 17:27:19 +02:00
|
|
|
cd /var/www/html/ninegate
|
2020-01-13 15:47:35 +01:00
|
|
|
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
|
2020-01-13 15:47:35 +01:00
|
|
|
else
|
2020-06-11 14:12:32 +02:00
|
|
|
php bin/console swiftmailer:spool:send --message-limit=200 --env=prod
|
2020-01-13 15:47:35 +01:00
|
|
|
fi
|