Expand|Select|Wrap|Line Numbers
- <?php
- $to = "someone2@example.com";
- $subject = "Test mail";
- $message = include("PROGRAMtoEXECUTE.html");
- $from = "someone1@example.com";
- $headers = "From: $from";
- mail($to,$subject,$message,$headers);
- echo "Mail Sent.";
- ?>
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?