Following on from vishal's message. . .[color=blue]
>hi
>
>i am building aan application which will send mail to user when he
>registers on my site and i am checking whther the email id is working
>properly or not by sending his email and then cheking whether the email
>was rebound or not.[/color]
What are you /really/ trying to test?
All a rebound test tells you is that if in future you send mail to that
address it probably won't bounce back. But what good is that when
/presumably/ you want to ensure there is a real person or intelligent
agent on the other end?
The usual way to handle this is to send an email with some key to
completing the registration process. (Unique,random for each attempt).
Or just email them their userid+(system generated) password.
Or just email them their password and give them the user id on the web
page.
If you're trying to do some input validation (where A supplies an email
for B which is supposed to be valid but may have syntax mistakes) then
look up the many scripts.
In short - Bad idea.
--
PETER FOX Not the same since the bottom fell out of the bucket business
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>