symfony - Swiftmailer not sending immediately -


i have configure symfony webapp sending email using smtp. sending email being put spool directory.

this should occurs whem there error in sending. correct?

but if execute command swiftmailer:spool:send --env=prod, emails sending correctly.

why server not sending email immediately? because fixed error? there way fix this?

swiftmailer:

spool:     type: file     path: %kernel.root_dir%/spool 

a add command swiftmailer:spool:send crontab. step wasn't clear on symfony documentation.


Comments

Popular posts from this blog

java - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -