[imp] Re: How to get envelope-sender header

Michael M Slusarz slusarz at mail.curecanti.org
Thu Apr 14 09:29:39 PDT 2005


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Camilo Echeverry <camilin at gmail.com>:
>
>> Hi.
>> I was triying to search about this issue in google and figured out
>> that all messages have the "envelope-sender" words so I couldn't find
>> anything.
>>
>> My question is:
>> Is there some imp/horde/php/imap  function to retrieve the
>> envelope-sender header from a mail.
>> This is because I want to incorporate some external filters which need
>> this value.
>
> If I am not wrong this not possible, because the envelope is only
> available on the MTA level, while PHP/Horde can only access messages on
> the IMAP server.

Jan is correct.  The envelope info is only available on the MTA level, 
and there is no way PHP can access this information (e.g. the MTA may 
not even be on the same server as IMP so how would you access it?  IMAP 
has nothing to do with mail transport so it is of no help.)

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the imp mailing list