Closed azine closed 4 years ago
I have same problem. Yii2 queue mailer.
`[2013] YarCode\Yii2\QueueMailer\Jobs\SendMessageJob (attempt: 1, PID: 2534) is finished with error: yii\base\ErrorException: mkdir(): No such file or directory in /var/www/html/app/vendor/swiftmailer/swiftmailer/lib/classes/Swift/KeyCache/DiskKeyCache.php:274 Stack trace:
This is closed but has no solution listed... @mhunesi did you find the solution?
anyone find solution?
@shashankdevstree I've given up. Honestly, I don't think Swiftmailer is meant for mass mailing. But even then, even single emails generated from server (even sent with SMTP) are sent to spam/junk folders for me. AND some endpoint refuse to even accept the email. We have countless reports from our user base with these issues. This is why we have completely moved away from Swiftmailer and integrated with a professional CRM. I would encourage the same thing. You will be much more pleased in the long run
Can understand your concern @ShaneJohnsonCC In my case I was getting an error of not being able to create a directory under the TEMP folder on the ubuntu system that's why I changed the path of the temp folder on my ubuntu system and it works fine again by sending an email.
Hi all,
I have a cron job that executes the
swiftmailer:spool:send
command every minute. When I try to send a few hundred emails "at once", sometimes I get the following exception:I suspect that it is a concurrency issue. The command instance started at
x
is still running (sending emails) when the next command instance is started atx+1minute
.Do you think that might be true? I think my proposed PR #209 would fix the problem.