I’ve got the code
<?php
$strMailTo = "An Address";
$strSubject = "Plan for Today";
$strBody = "Today is" + date("l");
mail ($strMailTo, $strSubject, $strBody);
?>
However when I try and send it in this state, it just outputs 0 in the body. However if I take out ‘date(“l”) it works fine with plain text, so I know where the problem is, just not how to fix it. Could anybody point me in the right direction?
try not adding your strings but concatenate them: