[code=php]<?php
$to = "someone2@examp le.com";
$subject = "Test mail";
$message = include("PROGRA MtoEXECUTE.html ");
$from = "someone1@examp le.com";
$headers = "From: $from";
mail($to,$subje ct,$message,$he aders);
echo "Mail Sent.";
?>[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
This email contains a message which changes every time it is sent.
This changing message could be the time, some random numbers, etc..
Is there any way to have it run the program and then send the output?
$to = "someone2@examp le.com";
$subject = "Test mail";
$message = include("PROGRA MtoEXECUTE.html ");
$from = "someone1@examp le.com";
$headers = "From: $from";
mail($to,$subje ct,$message,$he aders);
echo "Mail Sent.";
?>[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
This email contains a message which changes every time it is sent.
This changing message could be the time, some random numbers, etc..
Is there any way to have it run the program and then send the output?
Comment