homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

I need a javascript with email a friend

 3:14 pm on May 7, 2002 (gmt 0)

I have searched for 2 days now and cant find the script. You know a little graphic button where it says email a friend and then a pop up comes with boxes where to wright email, comments and so on.




 3:50 pm on May 7, 2002 (gmt 0)

Hey Zeus,

Have a look at http://javascript.internet.com [javascript.internet.com]/ In the Forms section there should be a submit comments section.




 5:47 pm on May 7, 2002 (gmt 0)

Hopefully you'll get a few more responses here in the HTML forum than you were getting in the Graphics area... :)


 6:03 pm on May 7, 2002 (gmt 0)

I found this one useful [bluesparks.com...]


 6:05 pm on May 7, 2002 (gmt 0)

Bluesend (never used it myself)

<darn, toolman beat me to it>


 11:00 am on May 8, 2002 (gmt 0)

Thanks everybody but I did not find what I was looking for.



 7:08 pm on May 9, 2002 (gmt 0)


I think you need a cgi script. The pop-up box element (Javascript) is only an interface. From what I can tell there also needs to be some server-side code as well to make it all work. This is what the guys meant when they recommended Bluesparks - its the Bluesend cgi script you need.


 2:38 pm on May 10, 2002 (gmt 0)

thanks, I think you are right about cgi scipt because I cant find any good javascript with this function, but Im not that in to CGI script.



 3:00 pm on May 10, 2002 (gmt 0)


If you are looking for a simple way of submitting an email of the form details you could try using this <form> tag:

<FORM ENCTYPE="text/plain" NAME="FormName" METHOD="POST" ACTION="mailto:me@myplace.com?subject=Email from Form">

But this will just create an email (if memory serves me correctly) in the persons mail client (assuming they have one, and are not using a web based one) with the details that they have entered, they will still have to send it themselves.

Some sort of cgi/asp script is the best for this sort of thing as the above assumes that the user:

  1. uses a mail client (eg Outlook),
  2. will send the mail.


 3:44 am on May 12, 2002 (gmt 0)

We use the Big Nose Bird Script (Perl). Worked very well for several years. Very customizable as well re how many to email, look of the screen etc. and also creates a log file of what pages have been recommended it. Look in the big nose bird site under free scripts.


 11:58 am on May 12, 2002 (gmt 0)

Thanks everybody I hope I can help you with something also, all the best for your web future.


P.s I think I will try something in CGI, perl, I just have to learn it first.


 12:16 pm on May 13, 2002 (gmt 0)

Damn I think im to stupid to do anything in CGI, I have downloaded birdcast, but I cant get it to work.

I have made a link to the original birdcast.cgi, but it dossent work and I have put the birdcast.cgi in the cgi-bin folder.



 1:10 pm on May 13, 2002 (gmt 0)


1. check your path to perl at the very top
2. it does work on non-unix, but it took us a while to get it too! now we are on unix and it works fine.
3. make sure your permissions are correct
4. check the big nose bird forums. not much support from the designers, but lots of self-support with install/config problems.

once you have got a couple of perl scripts working, it all gets much easier from there on..


 1:21 pm on May 27, 2002 (gmt 0)

Ok Im never gonna get this to work and I must say that I do not know anything about CGI.

I have downloaded the birdcast file and there is a txt where I must change some things I think there is my problem and I can see even webmasterworld has a email a freind.



 3:44 pm on May 27, 2002 (gmt 0)

Zeus, I just installed this script myself a few weeks back. The zip comes with the script both with the .cgi extension and a .txt extension. Open up the .cgi one and modify the path to perl (the very top line) it will most likely be #!/usr/bin/perl which is the default, then find out from your host if you use either SMTP_SERVER or Send Mail in my case I had to comment out the $SMTP_SERVER so it became # $SMTP_SERVER="localhost"; and uncomment the sendmail path (remove the #)in my case it was $SEND_MAIL="/usr/sbin/sendmail -t"; have a look on your hosts site to find what the path to perl is and your path to sendmail or smtp, if it is not there email them, change the $SCRIPT_NAME, $SITE_NAME URl etc. Then upload the birdcast.cgi script to where you can run cgi scripts (cgi-bin)in ASCII mode and chmod it to 755 then make a file called reflog.txt and upload it and chmod it to 666. If you get it to work about halfway down the script you will see all the html code that you can modify.


 5:26 pm on May 27, 2002 (gmt 0)

that sounds very complicated, but I will try it out, thanks


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved