Forum Moderators: open

Message Too Old, No Replies

Send/Friend JS in AOL

         

jk3210

2:42 pm on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



After installing a Perl "Send to a Friend" script last week, I now find that apparently anyone using Norton Internet Security can't run this script.

So, I'm testing this JS script that brings up the users mail client, but my question is, what would come up for an AOL user? Does AOL have a mail client the pops-up just like Outlook Express does for me?

function mailpage()
{
mail_str = "mailto:?subject= Check this article " + document.title;
mail_str += "&body= " + document.title;
mail_str += "... at: " + location.href;
location.href = mail_str;
}

korkus2000

4:59 pm on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If people use web mail like hotmail or yahoo mail then the mailto doesn't work. I would suggest using formmail or a server-side email script. The mailto solution just has too many problems.

hartlandcat

5:07 pm on Sep 7, 2003 (gmt 0)

10+ Year Member



If someone is using the AOL Browser, and they click a mailto link, a compose new email window will open, in the same way that it would open Outlook Express for you or Netscape Mail & News for me.

It is possible to set IE to open Hotmail, Yahoo! Mail and the like, but you can't do that in other browsers (and they might not even have that set up). In Netscape, unless you edit a script file, the Netscape Mail & News client will always open, regardless of what your default email client is.

jk3210

7:19 pm on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>I would suggest using formmail or a server-side email script<<

Agreed. But, as I mentioned, the Perl script (Birdcast) I installed produces an error message for anyone running Norton Internet Security. Other than that one problem, it works great.

korkus2000

7:33 pm on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have access to PHP or ASP?

jk3210

8:33 pm on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



PHP, yes.

korkus2000

9:29 pm on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This may help
[webreference.com...]