Gmail,Yahoo Mail,Hotmail和AOL等Web邮件客户端的撰写链接格式是什么? [英] What is the format of compose links to web mail clients such as Gmail, Yahoo Mail, Hotmail and AOL?
问题描述
在我的应用程序中,我目前使用mailto:链接打开电子邮件撰写对话框。这对于网络邮件用户来说很糟糕,因为它通常会导致Outlook或Apple Mail发布到他们的设置向导中。
在我实现了一个单独的撰写小部件之前, m计划特别为Gmail / Yahoo / Hotmail /等用户提供mailto链接。地址。
到目前为止,我有以下组合链接格式:
Gmail:
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=TO&su=SUBJECT&body=BODY
雅虎!邮件(来自 StackOverflow ):
http://撰写。 mail.yahoo.com/?to=TO&subject=SUBJECT&body=BODY
$ b [Hotmail](来自 Stack Overflow )::
有两个问题:
一些搜索导致这个作为美国在线邮件链接的正确格式:
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搜索来查找参数。 / p>
一旦你覆盖了这4个,我想你基本上已经覆盖了所有的webmail客户端。
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?
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.
这篇关于Gmail,Yahoo Mail,Hotmail和AOL等Web邮件客户端的撰写链接格式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!