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 - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -