homepage Welcome to WebmasterWorld Guest from 54.163.72.86
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
zeus




msg:1473402
 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.

zeus

 

BlobFisk




msg:1473403
 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.

HTH,

BlobFisk

mivox




msg:1473404
 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... :)

toolman




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

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

rcjordan




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

Bluesend (never used it myself)
[bluesparks.com...]

<darn, toolman beat me to it>

zeus




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

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

zeus

quiet_man




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

Zeus

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.

zeus




msg:1473409
 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.

zeus

BlobFisk




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

Zeus,

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.

chiyo




msg:1473411
 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.

zeus




msg:1473412
 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.

zeus

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

zeus




msg:1473413
 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.

zeus

chiyo




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

zeus..

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..

zeus




msg:1473415
 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.

zeus

maccas




msg:1473416
 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.

zeus




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

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

zeus

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