[pmwiki-users] FAST Data Project--Email

The Editor editor at fast.st
Mon Aug 14 20:18:01 CDT 2006

Hi all,

It's getting closer!  Thanks to Pm's help I have an alternate user
registration process and authentication scheme built into FAST Data
that makes some really nice things possible.

Now, I'm putting some final touches on the FAST Data Project to enable
emailing of input forms info as well as saving the data, and various
other options.  I thought this would be a simple one looking at the
MailPost recipe, but it doesn't seem to work. Basically I have an
input form with all the right input fields and a hidden field which
causes this switch to activate when the form is submitted.

case "EmailData" :
	$from = $_POST[EmailFrom];
	$to = $_POST[EmailTo];
	$subject = $_POST[Subject];
	$header = "My Header";
	$footer = "My Footer";
	$message = $header . $data . $footer;
	mail($to, $subject, $message, "From: $from");

When I run it, there is a slight delay on submit (enough to make me
think it was working) and then the page reloads like normal, but no
email comes through.

When I urlencode the various fields and print them back to check their
content I got the following for the various variables: Seems normal


I seem to recall there was some kind of adjustment that had to be made
to apache in order to get the mail function to work on windows systems
(I have XP).  I tried checking the ML archives, but couldn't seem to
guess the right search phrase cause couldn't find anything.  Anyone
know how to get this to working?


More information about the pmwiki-users mailing list