File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
EJB and other Java EE Technologies
using java mail API
Joined: Sep 03, 2004
Feb 17, 2005 11:26:00
mail to send emails.
If i give 2 email addresses for to addresses,
if one is invalid the exception is thrown and email is not sent to valid to address also.but i want email to b sent to b sent to valid address
how to do that.
Joined: Jan 14, 2002
Feb 17, 2005 16:24:00
I think probably you need to handle this in the catch block. And, from the catch block you need to validate the valid EMail Address and then calling your send method to send the mail.
You might think of other possibilites too ....
, BEA Certified Dev for WLS
I agree. Here's the link:
subject: using java mail API
How to increase speed of mail process
Space checking in a String
javamail with to: list repeated
Sending Email from Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015