PHP Classes

Blank lines

Recommend this page to a friend!

      Nomad MIME Mail  >  All threads  >  Blank lines  >  (Un) Subscribe thread alerts  
Subject:Blank lines
Summary:unnecessary blank lines between headers and body
Messages:1
Author:Ronald Klip
Date:2009-01-06 10:21:34
 

  1. Blank lines   Reply   Report abuse  
Picture of Ronald Klip Ronald Klip - 2009-01-06 10:21:36
Hi,
I'm sending a plain text message, without smtp. Somehow 2 blank lines show up at the top of the message. Here's my code:

$meel = new nomad_mimemail();
$meel->debug_status = 'no';
$meel->set_from('info@example.com', 'Some Name');
$meel->set_to('mail@example.com', 'Another Name');
$meel->set_subject('Just another test');
$meel->set_text('A line of text.');
$meel->send();

Version 1.6.2. The server runs PHP 5.2.8.

I fixed it by removing one BR on line 803. Will that have any implications?