我为用户登录/注册安装了FOS UserBundle.问题是,在注册后,它会将我重定向到"../register/check-email"页面,在该页面上有一条众所周知的消息,即带有激活链接的邮件已发送到用户的电子邮件,但我不知道收到任何电子邮件.我的config.yml文件有fos_user的代码:
fos_user:
db_driver: orm
firewall_name: main
user_class: IngrijireMedicalaAcasa\AppBundle\Entity\User
registration:
form:
type: ingrijiremedicalaacasa_appbundle_registration
confirmation:
enabled: true
service:
mailer: fos_user.mailer.default
from_email:
address: noreply@anytext.com
sender_name: any text
Run Code Online (Sandbox Code Playgroud)
我是否必须在某处进行任何其他配置?
我提到我试图用我自己的有效邮件地址更改地址"noreply@anytext.com".我甚至用我的邮件细节更改了parameters.yml,但它仍然无法正常工作.哦,我尝试从我的localhost发送邮件.
我希望你们知道我的问题解决了什么.我认为这是一件我看不到的小事,我不知道或者我忘了这么做.