在发送电子邮件至mailto链接,开始一个新的电子邮件 [英] MAILTO Link in email to start a new email

查看:247
本文介绍了在发送电子邮件至mailto链接,开始一个新的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,为客户与我公司联系联系表单。在完成这种形式的对应被发送到适当的销售人员该区域。在这封电子邮件它捕获提供的联系表格所提供的客户的信息。更多的往往不是客户请求比什么是可以在我们的网站了解更多信息。

I have a contact form on a website for customers to contact my company. Upon completing this form a correspondence is sent to the appropriate sales associate for that region. In this email it captures the information provided in the contact form the customer provided. More often than not the customer is requesting more information than what is available on our website.

我想包括在发送给销售人员,让他们点击选项发送补充文件/资料的电子邮件中的邮寄地址链接/网页没有对公共交通开放给客户请求的信息。线沿线的东西:

I would like to include a MAILTO link in the email sent to the sales associate that would allow them a one click option to send additional documents/information/webpages not open to public traffic to customers requesting the information. Something along the lines of:

<a href="mailto:customer@email.com&subject=Information
Requested&body=Here's more information. 
http://www.website.com/info/info.pdf">Send More Info</a>

我测试过这个链接,发现它完全在Outlook中,雷鸟,甚至Gmail中。但在移动设备,如Android设备,iPhone或iPad这个mailto字符串的整个部分被放置在收件人行。我已经试过编码的链接,类似于网址:

I've tested this link and found it works perfectly in Outlook, Thunderbird and even GMail. But on mobile devices such as Android, iPhone or iPad the entire portion of the MAILTO string is put in the recipient line. I've tried URL encoding the link to something like:

<a href="mailto:customer@email.com&amp;subject=Information
Requested&amp;body=Here's more information.%0A%0A 
http:%3A%2F%2Fwww.website.com%2Finfo%2Finfo.pdf">Send More Info</a>

不过,这似乎并没有在所有的期望的结果仍然没有取得任何改变。第二个环节仍然工作正常在其他邮件客户端只是没有移动设备。我的搜索已经导致我只能找到有关创建于code专用于Android或iOS设备的邮件链接的文章。

But this doesn't seem to change anything at all as the desired result is still not achieved. The second link still works properly in other email client just not mobile devices. My searching has led me to only find articles about creating the MAILTO link in code specific for Android or iOS devices.

什么办法,使在一个正常的电子邮件或网页这一解决方案的工作?谢谢!

Any way to make this solution work in a normal email or webpage? Thanks!

推荐答案

28日上午在周五的错误。

Monday morning mistake on a Friday.

<a href="mailto:customer@email.com?subject=Information
Requested&body=Here's more information. 
http://www.website.com/info/info.pdf">Send More Info</a>

请注意这个问题,而不是一个符号前的问号的变化。

Note the change of the question mark before the subject instead of an ampersand.

这篇关于在发送电子邮件至mailto链接,开始一个新的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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