Simon
|
| Posted: 09/05/2002, 11:32 AM |
|
I have only been able to find ASP examples, can anyone tell me of
a PHP example ?
TIA
Simon
|
|
|
 |
Simon
|
| Posted: 09/05/2002, 1:15 PM |
|
Ah.. OK had overlooked the Action "Send Mail"
But how do i get it to mail a test file. ?
|
|
|
 |
Simon
|
| Posted: 09/05/2002, 3:36 PM |
|
This was what i wanted to accomplish....
//Send Email @13-A1B37084
global $profiler;
$to = $profiler->email->GetText();
$subject = "Velkommen";
$message_file = "velkommen.txt";
$from = "my@email.dk";
$additional_headers = "From: $from\n" .
"Reply-To: $from" ;
$fhandle = fopen($message_file, "r");
$body = fread($fhandle,filesize($message_file));
fclose($fhandle);
mail ($to, $subject, $body, $additional_headers);
|
|
|
 |
|