It becomes a java null MailAddress (unless I'm missing something). That's why the 
SenderIsNull matcher I just sent you just does a:

    public Collection match(Mail mail) {
        MailAddress mailAddress = mail.getSender();
        if (mailAddress == null) {
            return mail.getRecipients();
        }
        else {
            return null;
        }
    }

Vincenzo

> -----Original Message-----
> From: Oki DZ [mailto:[EMAIL PROTECTED]
> Sent: martedi 24 giugno 2003 9.42
> To: James Users List
> Subject: Re: Sender is: <>
> 
> 
> I'd like to ask about MailAddress too.
> When yo do
> telnet localhost 25
> mail from: <>
> 
> James would reply OK. Question is, what is the content of the message's 
> MailAddress? I have tried to instantiate one (using bsh) with new 
> MailAddress(""), new MailAddress("<>"), but the class wouldn't parse it.
> 
> TIA,
> Oki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to