I have made use of javamail, but now I want to change it slightly.
I was able to get it to send me an email, but now, I want it to send the
email to my cellphone. I know I can send an email from outlook to my
cell by using
However when I use this as my TO address I receive
javax.mail.internet.AddressException: Illegal character in local name in
string ``SMTP:5403120619@xxxxxxxxxxxxxx''

Will java mail handle this or do I just need a tweak somewhere?
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tamas Perlaky
Sent: Thursday, October 09, 2008 12:12 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Java mail

Hi Mike,

You'll need to download the JavaMail distribution from
, and also the JavaBeans Activation Framework as well which is
linked to from that page. Really all you need is to add mail.jar and
activation.jar to your classpath and you're off.


This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page