« Return to Thread: Zend_Mail and Microsoft Exchange Servers

Re: Zend_Mail and Microsoft Exchange Servers

by Justin Hendrickson-2 :: Rate this Message:

Reply to Author | View in Thread

Unfortunately, all the people that having problems with attachments
are also Outlook 2003 users. In order to get the full source of an
email with Outlook 2003, you have to make a registry change. Normally
I'd just call them up and do some troubleshooting with them, but
they're not direct customers (these are invoices PDF's I'm sending
them) and they're very busy, so they're not very eager to assist me.

I just sent off my test scripts to Eric Coleman, so hopefully he can
reproduce the bug with those and we can identify the bug.

On Dec 5, 2007 11:31 PM, Eric Coleman <eric@...> wrote:

> Justin,
>
> What happens if you diff the exchange attachment vs. the one you send
> yourself (which, obviously doesn't go through exchange?)
>
> Maybe figuring out what's happening with the attachment might help
> figure out where it is?  Also, does it happen with any other kinds of
> attachments?  Have you tried with like a zip or tarball, or maybe a
> word document of some sort?
>
> Regards,
> Eric
>
>
> On Dec 5, 2007, at 11:36 PM, Justin Hendrickson wrote:
>
> > I tested out Zend_Mail from 1.0.3 and the trunk and got the same
> > result.
> >
> > I sent myself a copy of each mail, saved each of their raw source, and
> > diff'ed them. 0.7.0, 1.0.2 and 1.0.3 are pretty much all the same,
> > excluding the previously mentioned differences.
> >
> > I'm going to have to wait until tomorrow to send out another batch of
> > tests, unless we can find someone with an MS Exchange server tonight.
> >
> > In the mean time, I'm going to create a set of test scripts that use
> > Zend_Mail 0.7.0, 1.0.2, 1.0.3, trunk, as well as the latest version of
> > PHPMailer and PEAR::Mail. Hopefully one of those will work and we'll
> > have something to look at.
> >
> > On Dec 5, 2007 3:53 PM, Justin Hendrickson <justin.hendrickson@...
> > > wrote:
> >> I just confirmed that Zend_Mail in 0.7.0 and 1.0.2 both failed to
> >> send
> >> the attachment correctly.
> >>
> >> I'm looking at raw copies of each email and they look mostly
> >> identical
> >> (minus timestamps, ids, mime boundaries and such).
> >>
> >> I'm going to create a new test with 1.0.3 in a minute here.
> >>
> >>
> >> On Dec 5, 2007 3:45 PM, Justin Hendrickson <justin.hendrickson@...
> >> > wrote:
> >>> This project is a bit old and never got upgraded, so I'm using ZF
> >>> 0.7.0.
> >>>
> >>> I'm going retry sending an email with an attachment to the client
> >>> using 0.7.0 and 1.0.3 and see if there's any difference.
> >>>
> >>>
> >>> On Dec 5, 2007 3:01 PM, Cameron Laird <cameron@...>
> >>> wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> There have indeed been issues in this area; perhaps there still
> >>>> are.  What release of Zend_Mail sources do you use?
> >>>>
> >>>>
> >>>>
> >>>> -----Original Message-----
> >>>> From: Justin Hendrickson [mailto:justin.hendrickson@...]
> >>>> Sent: Wed 12/5/2007 3:00 PM
> >>>> To: fw-formats@...
> >>>> Subject: [fw-formats] Zend_Mail and Microsoft Exchange Servers
> >>>>
> >>>> Has anyone experienced problems with sending attachment with
> >>>> Zend_Mail
> >>>> to MS Exchange servers? I consistently get emails from them
> >>>> saying the
> >>>> attachment on the email I sent was corrupt.
> >>>>
> >>>> I initially thought the PDF was corrupt, so I started saving a
> >>>> copy of
> >>>> it before emailing it. The PDF opens fine, and weirder yet, sending
> >>>> the attachment with my email client (Evolution) works fine, no
> >>>> corruption issues.
> >>>>
> >>>> I'd test this myself, but I don't have an MS Exchange server to run
> >>>> the tests on. I might be able to send a couple more emails to one
> >>>> of
> >>>> the users, but they're typically too busy to expect any kind of
> >>>> reasonable turn around time.
> >>>>
> >>>>
> >>>
> >>
>
>

 « Return to Thread: Zend_Mail and Microsoft Exchange Servers