Zend Framework

Duplicate To: headers

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.8.0
  • Fix Version/s: 0.9.0
  • Component/s: Zend_Mail
  • Labels:
    None

Description

If I send an email with a single To: address using Zend_Mail_Transport_Sendmail it sends the same email twice.

This seems to be caused by duplicate To: headers. For instance, a sampling of the headers may look like this:

To: <alex@innovacomputing.com>
Subject: Subject goes here
From: "User" <alex@innovacomputing.com>
To: <alex@innovacomputing.com>
Content-Type: multipart/alternative; charset="iso-8859-1";
 boundary="=_6e1345cd6d0e8711c3affdf659433023"
MIME-Version: 1.0

I believe this is caused by the destination email address being supplied twice to mail(): as the first argument of mail(), and as one of the headers in the fourth argument of mail().

I am seeing this problem with PHP 5.2.0.

Issue Links

Activity

Hide
Bill Karwin added a comment -

Assign to Nico.

Show
Bill Karwin added a comment - Assign to Nico.
Hide
Simon Mundy added a comment -

Resolved in trunk r4010

Show
Simon Mundy added a comment - Resolved in trunk r4010
Hide
Jan Pieper added a comment -

i accedentally clicked on "assign to me"

Show
Jan Pieper added a comment - i accedentally clicked on "assign to me"

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: