You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Hut Carspecken <hu...@sbcglobal.net> on 2003/06/24 00:24:02 UTC
Turn String into a MailAddress
Hello,
I am having a good deal of trouble turning varibles into different types of objects. For instance, how can one turn a string from a parameter (getInitParameter();) into a MailAddress object to forward mail.
Hut
Re: Turn String into a MailAddress
Posted by Serge Knystautas <se...@lokitech.com>.
Hut Carspecken wrote:
> I am having a good deal of trouble turning varibles into different types of objects. For instance, how can one turn a string from a parameter (getInitParameter();) into a MailAddress object to forward mail.
Please read the documentation. MailAddress has 3 constructors, one of
them takes a String.
--
Serge Knystautas
President
Lokitech >>> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org