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

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.


Send them an email and have them reply to authenticate. Bots won't
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.
Mick BarryJava DeveloperCommented:
if you mean sending using gmail smtp server then see the following

> 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

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
Loganathan NatarajanLAMP DeveloperAuthor Commented:
thanks , i will decide..
http:#35254102 is how our site works and it's simple and effective
Mick BarryJava DeveloperCommented:
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

From novice to tech pro — start learning today.