DonationCoder.com Software > N.A.N.Y. 2019
N.A.N.Y. 2019: libvldmail: Your friendly e-mail address validation library.
Tuxman:
Just throwing together my other 2019 applications before writing new ones...
NANY 2019 Entry Information
Application Name libvldmail Version 0.1.1 Short Description A library that can validate e-mail addresses according to RFC 6531 with a fallback to RFC 5321 ff. Supported OSes Any, I hope. Web Page https://www.donationcoder.com/forum/index.php?topic=45118 Download Link None, actually. This is a library, it needs to be integrated with your own applications... System Requirements
* You will need a C compiler. Nothing else.Version History0.1.1 [2018-02-25]:
- Introducing the BREAK_LOOP_FAIL macro. (Thank you, stsc.)
- Improved output of one of the validation messages.
0.1.0 [2018-02-24]:
- Initial version.
Author when in doubt, me
Description
Your friendly e-mail address validation library.
Features
- Can validate e-mail addresses.
- Comes with a test
Screenshots
;D
Usage
Using the Application
You can use libvldmail from inside your own applications. :)
Example code (C):
--- --- #include <vldmail.h>
int main(void) {
/* ... your code ... */
vldmail validator = validate_email(L"foo@bar.quux");
if (0 == validator.success) {
/* success == 0 means that something was wrong. */
printf(L"Validating foo@bar.quux failed: %ls\n", validator.message);
}
/* ... more of your code ... */
}
Uninstallation
Just remove it, I guess.
KodeZwerg:
--- --- #include <vldmail.h>
int main(void) {
/* ... your code ... */
vldmail validator = validate_email(L"foo@bar.quux");
if (0 == validator.success) {
/* success == 0 means that something was wrong. */
printf(L"Validating foo@bar.quux failed: %ls\n", validator.message);
}
/* ... more of your code ... */
}-Tuxman (July 29, 2018, 06:44 PM)
--- End quote ---
Does your library perform online check to see if its valid or how does it work?
Tuxman:
No, it is a complete offline implementation of the RFCs. :) It basically parses the string according to given rules.
KodeZwerg:
Will you later integrate at least a "does domain exists" function or will it never evolve to such?
Thank you for answering Mr. Tuxman.
Tuxman:
That would not make sense as the RFCs don't require the "domain" part to be a registered and reachable domain. Additionally, the application which uses the library does not have to access the internet at all.
There are libraries for that. :up:
Navigation
[0] Message Index
[#] Next page
Go to full version