Hello skidmore,

Monday, March 29, 2004, 6:31:39 PM, you wrote:
skidmore> Since 'mailit.pl' has known security vulnerabilities, except
skidmore> when accessed from localhost, I would like to get
skidmore> recommendations for an alternative, easy-to-configure
skidmore> 'form-to-mail' script (for Windows).��

Are you running under Windows or Linux?

If Windows, check out Mercury http://www.pmail.com/whatsnew/m32401.htm
for a very robust mail server software package.

    - IMAP
    - SMTP
    - POP
    - SSL/TLS
    - Mailing Lists
    - Spam filtering

Very configurable, and free to boot.

Once you've got that installed and running (I would seriously suggest
doing some googling for locking it down with regards to open relay),
then you can create a simple form to mail using localhost as the SMTP
server. If you use PHP, just configure the PHP.ini to enable the mail
functionality for localhost. As an example, here's a simple mail
script for PHP (just a clip of the mail part).

************

$email_to = "[EMAIL PROTECTED]";
$subject = "Thanks for Registering!";
$message = "Thank you for registering.

You can now access the site with your username and password.

Bye for now!";


mail($email_to, $subject, $message, "From: [EMAIL PROTECTED]");

*************

Pretty simple. Just throw some form elements in there and use those
as variables in your e-mail and you're done.

If you have access to an SMTP server that will allow you to
authenticate to send e-mail, you can do that too.


-- 

Cheers,
Leif Gregory 

TB Lists Moderator (and fellow registered end-user)
PCWize Editor  /  ICQ 216395  /  PGP Key ID 0x7CD4926F
Web Site <http://www.PCWize.com>

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to