Forum Moderators: open

Message Too Old, No Replies

Script that can open email inbox

script email

         

qwer12

8:11 am on Jul 3, 2007 (gmt 0)

10+ Year Member



Do anyone you know any script than when some click it wll open their email inbox?

i have try mailto but work for send message, what i want is to open email and read the message

example: i send a friend an email and than i place a link to my website so when my friend click the link it will open he email

the best thing it's not only open the email but also direct to the message

please help, thanks

tedster

8:41 am on Jul 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello qwer12, and welcome to the forums.

No, what you are asking for would be quite a majjor security problem. There are intentional barriers in web technology against doing this.

qwer12

4:52 am on Jul 4, 2007 (gmt 0)

10+ Year Member



why mailto (html tag) is allowed?

Marshall

5:13 am on Jul 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sending an email using mailto: does not require opening the email cllient, only open an email. There is a big difference and, as mentioned before, opening the email client remotely would be a severe security risk.

Marshall

borntobeweb

7:52 pm on Jul 4, 2007 (gmt 0)

10+ Year Member



Hi qwer12, mailto is not really an html tag but a protocol, just like http, https, ftp, nntp (news), etc. When the user clicks on a mailto: link, the browser simply calls the program configured to handle this protocol (in IE 6 you go to Tools¦Options¦Programs to configure this), with instructions to start composing email to the specified address.

If you want to simply make the user's browser open the configured email program, there's no standard protocol defined, you may be able to force it by creating an empty mailto: link, that may open the email program but it'll be in compose mode and maybe with an error message and confuse the user. As to going to a specific message, not a chance, most email programs don't have any hooks in to remotely open a specific message, and there's no way to know the message number or even if the message is still in the user's inbox, in a separate folder, or simply deleted.

Hope this helps.