SMTP / E-mail Form

I’m attempting to use a FormMail.pl and because I’m on a Windows server, the program’s file states this:

If your web server lacks a sendmail binary, you can
use an SMTP relay instead, by setting $mailprog like
this:

                    $mailprog = 'SMTP:mailhost.your.domain';

                  You will need to replace mailhost.your.domain with
                  the name or IP address of an SMTP server configured
                  to relay mail for the web server.

So, my question is this… if my domain name is www.soonerbandb.com , shouldn’t I use:

                    $mailprog = 'SMTP:mail.soonerbandb.com';

Or am I missing something? Everything seems to be working - but I’m not receiving any emails from the form.

Shannon

Try this:

$mailprog = ‘/usr/sbin/sendmail -i -t’;

That sendmail line won’t work. Perl is not super reliable when using as mailform from windows, in my experience.

Oh ok, I never installed a formmail.pl on windows, I always use unix. I thought it would work on both platforms.

use: formmail.asp from brainjar.com

alternative to formmail.pl

Yep - that’s what I ended up doing - was using asp.