$message = 'New user registration\n\n
There is a new submission on the site and below are the details.\n\n';
I tried to use html but it shows text in email so I change it to plain text. Still cannot make line break.
I am not sure why it is not working as I think.
EDIT #2
$umessage .= '<a href="'.$pdflink.'">Download Brochure</a>';
The problem is that it displays in email: Download Brochure
Is there any way around it?
When you use a single quoted string, the line break characters are not interpreted. You need to use
"to encapsulate your string.In addition, you should use
\r\nfor compatibility with mail clients.