Gmail、Yahoo Mail、Hotmail 和 AOL 等 Web 邮件客户端的撰写链接的格式是什么?
在我的应用程序中,我当前正在使用 mailto: 链接来打开电子邮件撰写对话框。这对于 Web 邮件用户来说非常糟糕,因为它通常会导致 Outlook 或 Apple Mail 启动其设置向导。
在我实现一个单独的撰写小部件之前,我计划为 Gmail/Yahoo/Hotmail/等用户的 mailto 链接进行特殊处理。地址。
到目前为止,我有以下撰写链接格式:
Gmail:
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=TO&su=SUBJECT&body=BODY
雅虎!邮件(来自 StackOverflow):
http://compose.mail.yahoo.com/?to=TO&subject=SUBJECT& body=BODY
[Hotmail](来自 StackOverflow< /a>)::
http://mail.live.com/mail/EditMessageLight.aspx?n=&to=TO&cc=CC&subject=SUBJECTt&body=BODY
两个问题:
- 正确的格式是什么AOL 链接?
- 我还应该支持哪些其他网络邮件客户端,它们使用什么格式?
In my application, I'm currently using mailto: links to open email compose dialogs. This is terrible for web mail users, since it typically causes Outlook or Apple Mail to launch into their setup wizard.
Until I've implemented a separate compose widget, I'm planning to special case the mailto links for users with Gmail/Yahoo/Hotmail/etc. addresses.
So far, I have the following compose link formats:
Gmail:
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=TO&su=SUBJECT&body=BODY
Yahoo! Mail (from StackOverflow):
http://compose.mail.yahoo.com/?to=TO&subject=SUBJECT&body=BODY
[Hotmail] (from StackOverflow)::
http://mail.live.com/mail/EditMessageLight.aspx?n=&to=TO&cc=CC&subject=SUBJECTt&body=BODY
Two questions:
- What's the correct format for AOL links?
- What other web mail clients should I support, and what format do they use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
一些搜索导致这是 AOL 邮件链接的正确格式:
http:// /webmail.aol.com/Mail/ComposeMessage.aspx?to=TO&subject=SUBJECT&body=BODY&cc=CC&bcc=BCC
来源:http://dev.aol.com/api/openmail/webmail(在“Web Mail 的外部调用”下),以及一些 Google 搜索找到参数。
一旦您掌握了这 4 个客户端,我想您就已经掌握了基本上所有的网络邮件客户端。
Some searching led to this as the proper format for AOL Mail links:
http://webmail.aol.com/Mail/ComposeMessage.aspx?to=TO&subject=SUBJECT&body=BODY&cc=CC&bcc=BCC
Source: http://dev.aol.com/api/openmail/webmail (under 'External Invocation of Web Mail'), and some Google searching to find the parameters.
Once you have these 4 covered, I think you've got essentially all of the webmail clients covered.
至于支持哪些其他网络邮件客户端很大程度上取决于用户。例如,在德国,您应该将 GMX 和 web.de 添加到列表中。
Regarding which other web mail clients to support it depends a lot on the users. In Germany for example you should add GMX and web.de to the list.
上面的示例 google URL 返回 google 错误。
2014 年 2 月发布的主题 2583928 建议将
view=cm&fs=1&tf=1
替换为&v=b&cs=wh
The example google URL above returns a google error.
The February 2014 post to thread 2583928 recommends replacing
view=cm&fs=1&tf=1
with&v=b&cs=wh
尝试这些更新的
for Outlook
For AOL
但我应该警告您,预填充正文如果包含 URL 中编码的换行符(换行)字符,则该换行符目前不会生效。
Try these updated ones
For outlook
For AOL
But I should warn you that, prefilled body if at all contains line feed(new line) character encoded in URL, that line feed won't take effect at present.