I've added the following code to a php page that's capturing data. In the end, I'd like to assign variables to the e-mail, but for now it's just text.
When I send an e-mail with this code, the subject line in the received e-mail is "Lac Date". Since that's nowhere in the code, I'm at a loss as to where it's coming from. Any ideas?
When I send an e-mail with this code, the subject line in the received e-mail is "Lac Date". Since that's nowhere in the code, I'm at a loss as to where it's coming from. Any ideas?
Code:
$to = "rando@stolze.com";
$subject = "New Quote from ";
$body = "Hello world";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
Comment