How to send an email with user email, in contact us page?

淺唱寂寞╮ 提交于 2019-12-06 02:26:35

Using gmail, the message will come from the user logging in, not the user in the "from". You can put whatever you'd like in the from, but it doesn't work the way you'd expect.

Using a small, free Google Apps account, I've actually set up a 'bot@example.com' account. I log into gmail with that account, so at least contact mail has that as the from.

I also encountered the same issue, and there is kinda workaround for this, you can add the sender's email to the ReplyToList property, which will give the option to reply to that address.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!