Johan Bj�rk <[EMAIL PROTECTED]> wrote:

Please try to limit your line length to 78 chars or so.  Your long lines make
for a little trouble in reading/replying.

> I'm trying to send emails with PHP (Linux) through a remote mailserver
> running qmail 1.03. I'm using the smtp-send class by M Lemos. The problem is
> that ALL emails being sent get a weird header at the first line:
>   Return-Path: <"johan <johan"@mail.johanbjork.com>
> 
> Exactly like that it looks! And I'm not trying to set that header in PHP.

I'm not familiar with the class you refer to, but qmail constructs the
Return-Path: header from the envelope sender.  It looks like your envelope
sender is in a non-standard format, like:
    "Comment" <address>
which is fine for From: and To: headers, but not for the envelope sender or
recipient.  Specify the envelope sender as only <address> and it might
work better.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to