-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send mail in Command #10
Comments
we can't help you if you don't provide code lines, errors, logs, ... |
I have no error. Here's my code, nothing special:
$emailsSent returns 0 |
verify the symfony env you use when you send your command, also check your spool configuration |
When I use this command :
And $emailsSent returns 1. But when I use this command :
So no spool is configured. |
put some var_dump everywhere, it can be a problem with your payload and Mailjet API reject your request that's why it failed. |
OK I removed a
I tried to update my cacert.pem with no result. |
You are on Windows environment? it's a common issue, ask Google for it: |
But I think we could catch runtime error (other than API error) and throw them in order to get error when there is actual error (like here). |
Hi,
I want to send an email within a Command, and it doesn't seem to work.
Don't know why.
Did I miss something ?
It works perfectly in a controller.
Thanks.
The text was updated successfully, but these errors were encountered: