简体   繁体   English

不允许在CodeIgniter中回复邮件?

[英]Not allowing reply to a mail in CodeIgniter?

As of CodeIgniter's $this->email->reply_to('you@example.com', 'Your Name') function sets the reply-to address. 从CodeIgniter的$this->email->reply_to('you@example.com', 'Your Name')功能开始设置回复地址。 If the information is not provided the information in the "from" function is used. 如果未提供信息,则使用“来自”功能中的信息。

I don't want the users to reply me back. 我不希望用户回复我。 What should be done to prevent user's reply? 应该怎么做以防止用户的回复?

You cannot prevent someone from pushing the "Reply" button in a mail client. 您无法阻止某人在邮件客户端中按“回复”按钮。 However you can use a different "from" address when sending your emails ( noreply@example.com ) : An email box that does not exists or that exists but always emptied automatically without someone really looking at it. 但是,您可以在发送电子邮件时使用不同的“发件人”地址( noreply@example.com ):电子邮箱不存在或存在,但在没有人真正查看的情况下总是自动清空。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM