NEW TO CGI, AM HAVING SENDMAIL PROBS (and consequent breakdown!)

They have: 8 posts

Joined: Sep 2003

HELP !!! i am having real probs trying to send mail from my guestbook to my private email addy. also, i can't send a confirmation/acknowledgment/ thanks email from the guestbook. I AM VERY VERY NEW TO CGI, and really would appreciate some guidance. We are trying to do away remotely hosted guestbooks and i want to get experience with server side techniques. I've got experience with html, vb, javascript and pascal, but i would like to learn more about the other side of things. trouble i've gotten stuck !

I am using Active Guestbook, and have configured everything nicely except for the SENDMAIL part. I have tried a few paths, none of which were successful Sad

I basically want some ideas on the most common paths. The site is hosted by fasthosts.co.uk (heard of them?) I got my web space from a reseller and have a cgi-bin (obviously) and FP server extensions enabled also
(though i don't get them to work, but that's another matter. lol).

the guestbook script is courtesy of Active Guestbook and all works fine except for when i want to get emails to be sent to the signer to say thanks and also subtely remind them of the donations button on out site.) also an email message should come and say that somebody signed the guestbook.

At the top of the Activeguestbook CGI script the path is shown as #!/usr/bin/perl. fine, that works lovely. however when asked for the path to my SENDMAIL programme #!/usr/bin/perl/sendmail -t doesn't work Sad nor does one or two other variations of it. i've tried with/out the '-t' switch, with/out the '/perl' and both.

QUESTIONS
Am I being dumb ? do i need a mail sending cgi script also or something similar? or should it be already on the server?
is it an intregal part of perl or is it a seperate application altogether??

does anyone have experience with fasthosts? where am i going wrong.

Please can anybody give me any clue whatsoever on what i could try ? Please.

is it possible my reseller has sendmail privileges and i dont ?(my domain is under his in the tree structure) and it is possible to use his priviledges ? what would the path to sendmail look like then ??

oh golly, it's late and i think i've gone WindowsBlind....I can't see the code from the IDE Sad( please reply or help somebody... please

S-L-D
-------------------------
Secret Lemonade Drinker Cheers!

DO or DO NOT, there is no 'TRY'

(Yoda - Empire Strikes Back)

They have: 20 posts

Joined: Oct 2003

Sendmail should be on your server already - but it can be disabled. Did you check with your reseller to make sure Sendmail is enabled?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

try /usr/sbin/sendmail

They have: 8 posts

Joined: Sep 2003

thanks guys for your help. I tried the usr/sbin/sendmail. no joy. I think we are be hosted by a win nt server, so that's another spanner in the works. sendmail i think is specific to *.nix servers.
I Tried to use this, C:/winnt/system32/blat.exe The guestbook is happy with the path, usually it says "not found" but still no mails. Shocked(

and then getting support from the resller of fasthosts.co.uk is impossible.Tech support dont seem to exist. the only contact we have had is from our reseller saying "take bravenet off your site, it's against our rules to advertise the services of other hosts" grr. i'll persevere tho.

Thanks again

DO or DO NOT, there is no 'TRY'

(Yoda - Empire Strikes Back)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.