[PHP] Does mail() support line-breaks?

SineCosine

I'm still looking for my Tangent
Reaction score
77
I can't seem to get a line-break in the e-mails I send out =/

I've tried
\r\n
\n
\r
<br>

No luck.
Tried it as one string with other texts and tried them as concatenations to other texts, no good.

No line breaks =/
Any insight would be helpful :D
 

codemonkey

Code monkey not crazy, just proud.
Reaction score
66
When you're trying to use \n for line breaks surround the string in double quotes, not single quotes.
 

SineCosine

I'm still looking for my Tangent
Reaction score
77
Omg =x
That worked ._.

Too used to using the single quotes >.<
Thanks!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top