Jump to content

mail data


splatek

Recommended Posts

I am trying to get a php mailer script to work with a data collection software I am using.

 

the script looks like such:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<HTML>

<HEAD>

<TITLE>PXLab Data File</TITLE>

</HEAD>

<BODY>

<FONT face="Verdana, Helvetica">

 

<h3>PXLab Data File <?php echo $IAT_Test; ?></h3>

 

<?php

 

  $SendData = "\nSending Document: ".$_SERVER["HTTP_REFERER"]."\n".

"Source IP: ".$_SERVER["REMOTE_ADDR"]."\n".

"Script: ".$_SERVER["SCRIPT_FILENAME"]."\n".

"Request Method: ".$_SERVER["REQUEST_METHOD"]."\n".

"Email: ".$_REQUEST["Email"]."\n".

"DataFileName: ".$_REQUEST["DataFileName"]."\n".

"Data: \n\n".$_REQUEST["Data"]."\n";

 

  mail('[email protected]', "PXLab Data File ".$DataFileName, $SendData, "From: PXLab" );

 

?>

 

Thank you for your participation. Your data <?php echo $IAT_Test; ?> has been sent to Steven Platek, the lead researcher.<?php echo('[email protected]'); ?>.

 

<p><small>S. Platek 2007</small>

</BODY>

</HTML>

 

its supposed to work with a program called PXLab to collect data and send the results via email. However, I cannot get this to work - any assistance would be greatly appreciated.

 

Cheers,

SP

Link to comment
https://forums.phpfreaks.com/topic/41774-mail-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.