You’re concatenating your message via your $Body variable, so it is rending in the message…. So, printing out the date isn’t going to work. You’ll need to create a date variable and append it in your message.
$date = date('Ymd'); // or whatever format you'd like
$Body = "blah...blahn";
$Body .= "The date is: ".$date."n";
What’s happening that’s indicating that something is broke? Are you not receiving the email? If so, can you post more code. Also, for the sake of consistency I would use lowercase trim() since that’s how it appears in the manual…
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".