Code Comments
Programming Forum and web based access to our favorite programming groups.I have a Sambar 6.0 servr setup and running fine. Using outlook express, I can send and receive mails, so I know the services are running fine. I have tried to implement some of the small tutorials for the sending of an email from a form, and I cannot get it to work. Is ther something special I need to do with a sendmail.pl or a formmail.pl ? I don't even know where these files are supposed to be located. Thanks Michael
Post Follow-up to this messageOn Oct 13, 2004 04:07pm, X wrote to ALL: X> Newsgroups: alt.comp.lang.php X> Subject: form based mail on Sambar Server X> I have tried to implement some of the small tutorials for the sending of X> an email from a form, and I cannot get it to work. X> Is ther something special I need to do with a sendmail.pl or a X> formmail.pl ? I don't even know where these files are supposed to be X> located. Normally in your cgi-bin directory.... But before you play around with that, are you using a windows based server or a linux based server? If windows based, you may need to add a sendmail.exe into the path, before formmail.pl and sendmail.pl will work. Though you can always do the sendmail portion directly in the script, most versions of formmail don't... From the sound of things, it sounds like the web server is running on your home computer on Windows. If so, then you'll need to look for the windows version of sendmail.exe, and put it in your path I believe, then you'll need to make changes to form mail, as sendmail.exe doesn't work any where near the same as the unix sendmail command.... It's possible to do form mail on windows hosting, but using formmail.pl is not the easiest route to go (and I might add, I hear that most sites refuse to allow you to use formmail because of some security risk envolved....) The easier method from what I've been reading and playing with would be to install PHP scripting on your machine, then use PHP to process the form and send e-mail. I've sent e-mail via scripts in PHP and it works flawlessly on my website.... I've even used it to retrieve web pages and e-mail them to me when I clicked on buttons... ... Platinum Xpress & Wildcat!..... Nice!!!!
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.