Re: mail header questions



Hello,

on 11/27/2006 05:14 PM Chantal Rosmuller said the following:
I'm working on a mailform and it's kind of working but I still have 2
problems:

1) I can't get the From header right, when I receive the test mail the sender
is apache

There is From: and From . From is not a real header. It is just set by
some MTA to the return path address and is also used as separator in
mailbox files with multiple messages in the mbox format.

If you can set the Return-Path address, you will most likely change what
appears in the From header.


2) The BCC headers (there's more then one) are not stripped.

I suspect that the headers appear in the body. That may be due to wrong
line break for your platform.

You may want to try this using the MIME message composing and sending
class, that lets you set the Return-Path header and can also detect the
right line break sequence for your platform.

http://www.phpclasses.org/mimemessage


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
.



Relevant Pages

  • Re: Should we broaden the topicality of this group?
    ... are dismissed as off-topic by virtue of the platform specific code ... There is one particularly common conio.h, and while there may be others, I've certainly never come across one. ... Admittedly, knowledge of conio.h is not required to be a C expert, but you can at least assume good faith on behalf of the header and the nonstandard functionality. ... But I'd rather try to help someone in case the obvious errors in their code, and not the nonstandard header, are the problem; rather than tell them to shove off until they have fully standard code, in case it is the header which is the problem. ...
    (comp.lang.c)
  • grouping system headers
    ... and noticed that he recommends putting a bunch of commonly-used header ... year or platform to platform. ...
    (comp.unix.programmer)
  • Re: Assignment help please!!!
    ... Cam wrote: ... |> Is conio.h a Microsoft only header? ... | It's also platform specific. ... | Just use getchar as a replacement for getche. ...
    (comp.lang.cpp)
  • Re: c without usin any graphics function
    ... This header is non-standard. ... A more useful comment is that this only works on and MS platform? ... Whether main may return something other than int does *not* depend on ...
    (comp.lang.c)
  • Re: Hidden header?
    ... "Because extensions vary from platform to platform and driver to driver, ... in the standard gl.h, glx.h, and wgl.h header files. ... assume wgl.h is relevant to programming OpenGL on the Win32 platform? ...
    (comp.graphics.api.opengl)