I am having trouble sending emails with symfony2 and swiftmailer. I am also a bit lost on how to debug this issue. Below is the code. First I am creating a form to display. On s
I you have trouble receiving email with ovh, siwftmailer and fosUserBundle,
please consider adding this in your config.yml
fos_user:
from_email:
address: noreply@yourdomain.com
sender_name: yourname
If you don't do this, fos user bundle will send the email with noreply@exemple.com and OVH flag this as spam.
source: https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/emails.md