Adding line breaks to plain text fEmail / Help Please!

Adding line breaks to plain text fEmail

I've been wracking my brains on how to do this. Tried adding \r\n but not working. Any clues? Thanks, Kris.

  • Message #500

    You should just be able to add linebreaks to the string:

    $email = new fEmail();
    $email->setBody("Hi Kris,
     
    This is the body.
     
    Will
    ");
    

    If this doesn't work, can you submit your OS with version, PHP version and what revision of Flourish you are running?