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]

Reply via email to