hummm
that means you should load the server for checking validity
of email address by sending a mail to the address, as it is
not assuring that it would be correct way to find out the
validity of email.
I think in that case, regular expression is much convinient
way to go with.
--kunal
On Thu, Oct 10, 2002 at 11:46:20AM +0530, Kunal Shah wrote:
suppose there is an domain xyz.com accepting mails for its user say
there are a, b and c users and administrator which will recieve
mails for unresolve members
i am sending one mail at [EMAIL PROTECTED] dummy is not valid
mailbox
thats the wonderful idea.
you are talking about doing something what mailing lists are
doing .
this is the way they check the validity of email address..
thanks a bunch
--kunal
-Original Message-
From: Steven J. Owens [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002
As far as I know, there's nothing that can be done on the sending side.
John
-Original Message-
From: Kunal Shah [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 2:16 AM
To: tomcat user
Subject: RE: How to validate email address in JSP by using javax.mail?
suppose
Typically, there is no way to validate an email address. For various
reasons, any mail administrator with half a brain turns off the VRFY command
on their mailserver, which is the only 100% guaranteed way to validate an
email address without sending a message and looking for a bounce or other
Cool, thanks for the tip. That's just address syntax, though, not whether
there is actually a mailbox available to receive mail at that address,
right?
John
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 10:25 AM
To: Tomcat
Thanks, John. I see what you mean. But we got the email address from our
web pages. Some people are sending disgusting messages with fake email
addresses. So, we don't want to reply to those invalid email addresses.
I tried to validate the email address by sending a confirmation mail. I
am trying
you could use a small java code and do the validation via regexp
here is a DEMO:
import java.lang.*;
import java.util.*;
import org.apache.oro.text.regex.*;
public final class isEmail
{
public static boolean check(String email)
{
PatternMatcher matcher;
PatternCompiler compiler;
The typical way to validate email addresses is to send an email to that
address. In the contents of that email message is a link back to your site,
a unique link generated on the fly, unique to each email address submitted.
The user can only see the link if they got the email message. If they
You would also want to check length, not just characters used. The minimum
length for a valid Internet email address is 6: [EMAIL PROTECTED]
You would also want to check for at least 2 characters to the right of the
last ., as one would be invalid. There are other checks you would want to
do,
you could use a small java code and do the validation via regexp
here is a DEMO:
import java.lang.*;
import java.util.*;
import org.apache.oro.text.regex.*;
public final class isEmail
{
public static boolean check(String email)
{
PatternMatcher matcher;
PatternCompiler compiler;
suppose there is an domain xyz.com accepting mails for its
user
say there are a, b and c users and administrator which will
recieve mails for unresolve members
i am sending one mail at [EMAIL PROTECTED] dummy is not valid
mailbox still the mesg will be delivered to administrator of
xyz.com. so
This isn't really a Tomcat question, but more of a general
protocol question.
The long answer is that you should look at mailing list
software and see how they do it using acknowledgements.
A good example of this is ezmlm which uses qmail as
it's transport.
Of course, you'll have to hold onto
13 matches
Mail list logo