From 136a2dbe1036785eb6d4b4deeecd1310ab4a2cf3 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 31 Dec 2010 13:14:13 -0500 Subject: [PATCH] more touchup of mailing stuff --- docroot/html/_head.php | 4 ++++ docroot/html/mailing.php | 26 ++++++++++++++------------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/docroot/html/_head.php b/docroot/html/_head.php index cd44d35..40dafe3 100644 --- a/docroot/html/_head.php +++ b/docroot/html/_head.php @@ -24,6 +24,10 @@ function mkheader($title, $bgcolor) { margin: 10px; } + .block { + display: block; + } + /*]]>*/ diff --git a/docroot/html/mailing.php b/docroot/html/mailing.php index 4c13690..8ad3f83 100644 --- a/docroot/html/mailing.php +++ b/docroot/html/mailing.php @@ -2,7 +2,7 @@ require_once("_head.php"); -mkheader("looping!", "#eee"); +mkheader("mailing!", "#eee"); ?> @@ -13,9 +13,9 @@ mkheader("looping!", "#eee"); if ($_SERVER['REQUEST_METHOD'] == 'POST') { mail( - $_POST['email-toaddr'], - $_POST['email-subject'], - $_POST['email-message'], + $_POST['toaddr'], + $_POST['subject'], + $_POST['message'], "From: {$_SERVER['PHP_SELF']} " ); ?>

Sent!

clear this

-
- - +

Send an email to somebody!

- - + + + - - + + + + + - +