Forums / General / mails and headers

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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