mancho
23rd June 2006, 19:29
Sorry if answered, I couldn't find it.
I need to create a simple "send form" that processes an email (its sent to a remote listserv).
I couldn't get it to work with this:
<?php
$to = "listserv-on@mail.baskins.com";
$subject = "Baskins Email Signup";
$from = "txtEmail";
if (mail($to, $subject, $from)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
What am I doing wrong? THe form is here: http://www.baskins.com/email_sign_up.html
and posts to:
http://www.baskins.com/emailprocess.php
thanks for any assistance. I'm using ISPConfig and I LOVE IT!
mancho
I need to create a simple "send form" that processes an email (its sent to a remote listserv).
I couldn't get it to work with this:
<?php
$to = "listserv-on@mail.baskins.com";
$subject = "Baskins Email Signup";
$from = "txtEmail";
if (mail($to, $subject, $from)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
What am I doing wrong? THe form is here: http://www.baskins.com/email_sign_up.html
and posts to:
http://www.baskins.com/emailprocess.php
thanks for any assistance. I'm using ISPConfig and I LOVE IT!
mancho