Forums / General / mails and headers

mails and headers

Author Message

Toni Ascó

Monday 30 August 2004 2:29:09 am

Hi, i have a modeule that uses ezmail to send mails. Everything was ok with ez3.3.x but for some reasons the mail headers are messed up with ez3.4. We've had to change sendMail in ezSendMailTransport.php from

  $extraHeaders = $mail->headerText( array( 'exclude-headers' => array( 'To') ) );

To

  $extraHeaders = $mail->headerText( array( 'exclude-headers' => array( 'To', 'Subject', 'From', 'reply-to', 'body', 'cc', 'bcc', 'mime-version') ) );

Seems as if ez didn't put the semicolon after each header.

Has anybody experienced the same problem? Are we doing anything wrong?

Thanx in advance

Toni