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

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

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -