C program verifies whether the email address actually exists (not the authentication email format)

Source: Internet
Author: User

Principle: connect to the domain name email server and simulate sending an email to the recipient. After verifying the result to rcpt to, the next address will continue without actually sending the email. Compiled and tested in REDHAT

The actual results will be saved in the file "OK", and those that do not exist will be saved in "bad", because the recipient's email server may also cause some mailbox detection results to be incorrect sometimes, therefore, inaccurate information is stored in the unkown file, which can be verified again for more accurate filtering.

The source code is included in the attachment at the end of the article.

650) this. width = 650; "title =" 1111.png" src = "http://www.bkjia.com/uploads/allimg/131228/2016241340-0.png"/>

 

This article from the "O & M development" blog, please be sure to keep this source http://zhupengyue.blog.51cto.com/227198/1292728

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.