OzarkBisons

Registered
Mar 30, 2020
1
0
1
USA
cPanel Access Level
Root Administrator
Trying to format the cron email to no avail. I get the emails, but cannot format them. They are Content-Type: text/plain; charset=UTF-8 but I cannot get the output to format in single line with a cartriage return. For instance I want the output to be
"User $fname $lname ($id) sent dues reminder
"User $fname $lname ($id) sent dues reminder
"User $fname $lname ($id) sent dues reminder

I have tried \n, \r\n, <br>, . PHP_EOL and every combination you can think of.

\n\n does give me double spacing but \n does nothing.

Any solution to this?
Thanx
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,951
921
313
cPanel Access Level
Root Administrator
Hey there! This sounds like a more general cron issue than a cPanel-specific problem, but you may want to explore the option of formatting the mail with html instead, as outlined in the second reply here: