Closed alchy58 closed 7 years ago
Hi @alchy58 difficult for me to say what the issue is. I can see that there is a similar open issue on the swiftmailer-bundle github. Could this be your case ?
Hi, I don't think your problem is related to this lib so try it and let us know if you have any issue with our MailjetSwiftMailer and reopen this issue. Thanks!
It seems that the problem was because my mails where sent with a wrong domain name. In this case, Mailjet seems to accept the mail, put it in queue and never send it, which result in a successful return in the code. I could but great if we could track receiveid but not relayed emails in Mailjet interface.
Hi,
I just discover this bundle so my question is not really related to the lib. If you can't answer it, I will just install it.
So I use SwiftMailer to send emails (ex : registration confirmation) from a website using the Mailjet SMTP. Mails are not sent.
The Symfony profiler says that 1 mail is spooled when I create a user account, but it is never sent. php bin/console swiftmailer:spool:send returns 0 emails sent. I tried memory and file spools.
When using the php bin/console swiftmailer:email :send, mails are correctly sent (mails have the mailjet headers and they are in the mailjet sent mails interface).
When I'm trying the OVH SMTP, mails are correcly sent, so the problem seems to be a SwiftMailer misconfiguration.
app/config/config.yml
app/config/parameters.yml
PS : There is no example about Symfony nor this lib in this page, it could be useful