A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
javamail with to: list repeated
How to increase speed of mail process
Sending Email from Java
Space checking in a String
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014