On Fri, 15 Feb 2002, Starhost - N.P.G. Elsten wrote:
>
> The message that I posted is the body which I see when using exim to
> send my MIME email. I send my email by calling a php script and that
> is calling exim with:
> /usr/local/sbin/exim -t -i
And what did the script supply as input to exim?
The -i supresses dot termination
The -t says that exim should figure out who to send to the message to
based on the headers.
Exim would be expecting input like:
From: ...
To: ...
Subject: ...
(Other-headers): ...
(MIME-headers): ..
I suspect somehow it is getting (not the blank line before the MIME
headers, this preculdes them from being recognized as headers, as
RFC(2)822 headers terminate at the first blank line..
From: ...
To: ...
Subject: ...
(Other-headers): ...
(MIME-headers): ..
> Further more EXIM is running as smtp in inetd.conf with the options:
> /usr/local/sbin/exim exim -bs
>
> Is this correct? Or should I run it with other arguments??
>
> Sincerly
>
>
> N. Elsten
>
>
>
> On Thu, 14 Feb 2002 17:07:48 -0500 (EST), Dave C. wrote:
> >
> >
> > Uhm.. What Mail client program are you using? Exim is not a
> > user program
> > - its a system program.
> >
> > Now, Judging from your headers, it looks like you _might_
> > be sending
> > this email from some programming envireonment. (Java? Perl?)
> >
> > If that is the case - how are you calling exim, eg, with
> > what arguments,
> > and what data are you sending to it? Its possible you are
> > injecting a
> > blank line before the mime headers, causing them to be part
> > of the body
> > rather than the headers..
> >
> >
> > On Thu, 14 Feb 2002, Starhost - N.P.G. Elsten wrote:
> >
> > >
> > > When I send a MIME email to somebody through exim I get
> > the mail like
> > > this: Instead of how it should be :(
> > > Could anybody please help me!?
> > >
> > >
> > > MIME-Version: 1.0
> > > X-Mailer: Html Mime Mail Class
> > > Content-Type: multipart/mixed;
> > > boundary="=_5018121a9fbbed66d643acdf120932ee"
> > > Message-Id: <E16bNPw-0003oh-00@???>
> > > Date: Thu, 14 Feb 2002 16:03:24 +0100
> > > Return-Path: httpd@???
> > >
> > >
> > > --=_5018121a9fbbed66d643acdf120932ee
> > > Content-Type: text/plain; charset="iso-8859-1"
> > > Content-Transfer-Encoding: 7bit
> > >
> > > This email has an attached email
> > > --=_5018121a9fbbed66d643acdf120932ee
> > > Content-Type: message/rfc822
> > > Content-Transfer-Encoding: 7bit
> > > Content-Disposition: attachment; filename="Test for
> > attached email"
> > >
> > > Date: Thu, 14 Feb 02 16:03:24
> > > From: "Some one" <someone@???>
> > > To: "John Doe" <john@???>
> > > Subject: Test for attached email
> > > MIME-Version: 1.0
> > > X-Mailer: Html Mime Mail Class
> > > Content-Type: multipart/mixed;
> > > boundary="=_349b88f3de6e40b4182bff9cab0ddb0f"
> > >
> > > --=_349b88f3de6e40b4182bff9cab0ddb0f
> > > Content-Type: text/plain; charset="iso-8859-1"
> > > Content-Transfer-Encoding: 7bit
> > >
> > > Success!
> > >
> > > This is the plain text portion of the email.
> > > --=_349b88f3de6e40b4182bff9cab0ddb0f
> > > Content-Type: application/zip
> > > Content-Transfer-Encoding: base64
> > > Content-Disposition: attachment; filename="example.zip"
> > >
> > >
> > UEsDBBQAAgAIAG9/eSh7cy0TEQAAAH0DAAAwAAAAaHR0cGRvY3MvdGVzdC9o
> > dG1sLm1pbW
> > > UubWFp
> > >
> > bC9kdW1teS50ZXh0LmZpbGUudHh0i4ggAfByRYwqH1U+qpxKygFQSwECFAAU
> > AAIACABvf3
> > > koe3Mt
> > >
> > ExEAAAB9AwAAMAAAAAAAAAABACAAtoEAAAAAaHR0cGRvY3MvdGVzdC9odG1s
> > Lm1pbWUubW
> > > FpbC9k
> > > dW1teS50ZXh0LmZpbGUudHh0UEsFBgAAAAABAAEAXgAAAF8AAAAAAA==
> > > --=_349b88f3de6e40b4182bff9cab0ddb0f--
> > >
> > > --=_5018121a9fbbed66d643acdf120932ee--
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > ## List details at
> > http://www.exim.org/mailman/listinfo/exim-users Exim
> > details at http://www.exim.org/ ##
> > >
> > >
> >
>
>
>
>
>
--