使用MailTo链接,可以将副本发送给发件人吗? [英] Using MailTo link, Can I send a copy to the sender?

查看:65
本文介绍了使用MailTo链接,可以将副本发送给发件人吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经开发出一种非常简单的表格,一旦提交,它就会填充一封电子邮件以发送支持通知单.电子邮件目前发送给我们的支持人员",但是如果我们也可以将副本发送给发件人,那将是理想的选择.我们正在使用mailto链接.这可能吗?

例如:我们的员工布拉德(Brad)填写支持通知单.这将启动Brad的本机电子邮件应用程序,其中包含必要的信息.使用mailto,我们已经将支持电子邮件作为目的地.我们希望任何发送电子邮件的人也能收到副本.怎么办?

解决方案

无法完成,至少不能通过浏览器完成.

虽然可以将多个收件人"地址(或CC地址)编码为 mailto: URL,但您必须事先知道要将其发送到的地址.

可以编写代码来监视您的支持邮箱并将所有传入的电子邮件复制回发件人,但这将是一个糟糕的主意(尤其是因为它将为垃圾邮件发送者提供一个反弹其邮件的系统)通过使用虚假的发件人地址将其发送到您的系统之外,然后返回目标用户.

几乎每个电子邮件客户端都配置为默认情况下保留所有已发送电子邮件的副本.不需要尝试重现该功能.

We've developed a very simple form that once submitted populates an e-mail to send in support tickets. The e-mails currently send to our "support staff" but it would be ideal if we could send a copy to the sender as well. We are using mailto links. is this possible?

For example: Our employee Brad fills out the support ticket form. This launches Brad's native e-mail application filled with the necessary information. Using mailto we already have the support email as a destination. We would like whoever is sending the email to receive a copy as well. How would it be done?

解决方案

It can't be done, at least not from the browser.

While it is possible to encode multiple To addresses (or a CC address) into a mailto: URL, you have to know the address you want to send it to in advance.

You could write code that watches your support mailbox and copies any incoming email back to the sender, but this would be a terrible idea (not least because it would provide a system for spammers to bounce their spam off your system and back at their targets by using a fake From address).

Almost every email client is configured to keep a copy of any sent email by default anyway. There shouldn't be any need to try to reproduce that feature.

这篇关于使用MailTo链接,可以将副本发送给发件人吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆