Does the mailto: in anchor tag actually support attachments?
Is it possible to have attachments to be specified in the mailto: tag in HTML?
< a href="test@test.com?body=somebody&subject=someSubject">my link < /a>
if yes, how can I specify an attachment 开发者_如何转开发on:
- In the user's machine
- At the server
Firstly, and it is important, mailto
is not a "tag", it's a URL scheme. Secondly, no, the scheme only allows you to supply values for RFC 822 headers. There may be hacks supported by particular MUAs, but they won't be portable.
I'm not sure about with mailto but the /a
switch can be used with Outlook.
A Help search in Outlook on "command-line switches" gives details.
Naturally, since this is an Outlook-only switch and you need the path to
Outlook there are limitations (as well as possibly limitations imposed by
file access from the Web).
精彩评论