I use FOSUserBundle to perform login/registration on my application.
I want a new user to confirm his email by sending him a confirmation email.
After reading the official documentation and different tutorials i have the same error :
The check email page appear after i register a user but i don't receive the email.
This is my configurations
#config/config.yml
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }
fos_user:
db_driver: orm
firewall_name: main
user_class: VK\UserBundle\Entity\User
registration:
confirmation:
enabled: true
from_email:
address: [email protected]
sender_name: Demo registration
service:
mailer: fos_user.mailer.twig_swift
And this is my parameters
config/parameters.yml
parameters:
mailer_transport: smtp
mailer_host: smtp.gmail.com
mailer_encryption: ssl
mailer_user: [email protected]
mailer_password: my_password
Please can some one help me solve this issue ? thank's