On June 19, 2000 at 17:16, J C Lawrence wrote:

> Given an archived message which contains a To: header with multiple
> destinations ala:
> 
>   To: [EMAIL PROTECTED], [EMAIL PROTECTED], "Bubb" <[EMAIL PROTECTED]>
> 
> How, via a resource or variable, can I get the entire contents of
> the To: header?  I seem to be able to get most every other field,
> just not To: or Cc:

There are no resource variables for receipient fields.

> To solve the To:/Cc: problem I'm left with using FIELDSBEG,
> FIELDSend, LABELBEG, LABELEND, FLDBEG and FLDEND to build a PHP
> associative array mapping field names to values for the ones not
> explicitly covered by MHonArc variables.  This seems inelegant at
> best.  

Receipient addresses are not stored since it seems there use is
typically not needed, and it can increase db file size dramtically.
Plus, since it would be multiple addresses, having resource variables
to access address parts could be awkward.

> Lastly, what is the actual definition of the $TOADDRDOMAIN$ variable
> in such a context?

>From the docs:

$TOADDRDOMAIN$ 
      Arguments:
                N/A
      Description:
                The domain part of the e-mail address. For example,
                given the address "[EMAIL PROTECTED]", $TOADDRDOMAIN$
                would equal "foo.com". This variable is only applicable
                for use in the MAILTOURL.

--ewh

Reply via email to