Need format the Body Text on email answer after ADD November 20, 2019, 08:09:13 PM Hi, I working with the answer email after add a record, i want tabulate with CR and LF the output in the body email.How can i do that?Today on body emailDate:$date Fieldname1, xxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxneedDate:$date (CR;LF)<---------- Fieldname1, xxxxxxxx CRLF <-----------xxxxxxxxxxxxxx (CRLF)<-----------xxxxxxxxxxx Thanks in advance Quote Selected
Re: Need format the Body Text on email answer after ADD Reply #1 – November 20, 2019, 08:39:18 PM @ocalle if you are using HTML, it would be <br>, but if are using PHP it would be <?php echo "\n"; ?> for UNIX or <?php echo "\r\n"; ?> for Windows. To be on the safe side, use "\r\n" as it also works for UNIX too.SummaryCRLF = "\r\n" in PHP Quote Selected 1 Likes