Hi Martin,

You are right. That was my fault. When I set the sender email in this way:
"[EMAIL PROTECTED] (MyRealName)", everything worked just as I expected.
Thanks a lot.

Actually, one of my webmail server changed the format and displayed it as
"Myname <[EMAIL PROTECTED]>" and I just copied and pasted. :)

Thanks a lot.
Bing

-----Original Message-----
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 2:38 PM
To: Tag Libraries Users List
Subject: Re: Question about Mailer Tag library.


I'm not in a position to try this out right now, but you should be
able to do this, since the address strings are passed directly to
InternetAddress.parse(). You will need to be careful with the '<' and
'>' characters, though, so that they're not interpreted as HTML or
XML.

--
Martin Cooper


On Wed, 4 Aug 2004 15:14:16 -0500 , [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi, all,
> 
> I am writing a simple jsp making use of the Mailer Tag Library to send out
> emails.My question is: Is there any way to put the sender email address in
a
> format like: "Myname <[EMAIL PROTECTED]>" instead of "[EMAIL PROTECTED]"
> only? I tried the former one but the tag library complained about the
> unknown format of a email address, is there any way to do that?
> 
> Thanks.
> Bing
> 
> ---------------------------------------------------------------------
> 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]

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

Reply via email to