Jump to content

Problem with new line (\n) in plain text email on MAC


jcavard

Recommended Posts

[!--quoteo(post=349095:date=Feb 24 2006, 01:32 PM:name=jcavard)--][div class=\'quotetop\']QUOTE(jcavard @ Feb 24 2006, 01:32 PM) [snapback]349095[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hi!

I use PHPMailer to send mail. I use \n as line carriage (new line) on a PC it works great but on a MAC it seems like \n doesnt work... it print all the text on the same line...
[/quote]

try using "\r\n" instead. typically, it's windows machines that need the \r, but it's worth a shot.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.