Using Gmail account send mail option, can we get reply on this account id?

I have list of emails to be verified with users on active link click etc., ... also email ids are false,
 I like to use my Gmail account through send mail option. i hope i can send mail like this.

If I send mail with my gmail account, can i get failure notice if the mail id invalid / false?

Please let me know
LVL 36
Loganathan NatarajanLAMP DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
See http://technojeeves.com/joomla/index.php/free/80-send-secure-mail-via-google-with-java

Send them an email and have them reply to authenticate. Bots won't
0
colr__Commented:
No - if you attempt to send an email to an invalid address, tyhe email will still be delivered to your own smtp server (gmail in this case) and your program will assume it was delivered. No mail servers provide validation in this way, it's not just a java or gmail thing. Once the email ahs been delivered to the smtp server, it closes the conenction with the sending program (your java app) and then attempts delivery. It is only at this point that the server will detect that the ail id is either for a non existant domain, or it will attempt to deliver it to the correct domain and be told that the recipient id is invalid. In either case, a reply will be sent back to the sender that the address is invalid.

So long story short - if you want to detect this, you would need to monitor for replies after you send your emails, in order to detect failed sends.
0
Mick BarryJava DeveloperCommented:
if you mean sending using gmail smtp server then see the following
http://helpdesk.objects.com.au/java/using-javamail-with-tls-and-gmail-smtp-server

> If I send mail with my gmail account, can i get failure notice if the mail id invalid / false?

I don't think so, probably not if they are not gmail accounts  (it'll just forward them on)
You may if they are gmail accounts you are sending to, but from memory I don't think so.
Try the code in the link above to test
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Mick BarryJava DeveloperCommented:
you're better off using one of the many email verification services available.
Or querying the smtp server pointed at by the mx record
0
Loganathan NatarajanLAMP DeveloperAuthor Commented:
thanks , i will decide..
0
CEHJCommented:
http:#35254102 is how our site works and it's simple and effective
0
Mick BarryJava DeveloperCommented:
:)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.