For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > October 2004 > form based mail on Sambar Server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author form based mail on Sambar Server

2004-10-13, 8:55 pm

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


John Guillory

2004-10-23, 3:55 pm


On 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!!!!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com