Saturday, July 4th, 2009

Tag Archives: e-mail

How to extract username from an e-mail address string

If you need to extract the username from an e-mail address string then this snippet can help you. For instance, you can use this function inside a loop, while selecting emails from a database.

Read more

How to extract domain name from an e-mail address string

If, for any reason, you need to extract the domain from an e-mail address (or from multiple e-mail address that are in a database) then this snippet can help you.

Read more

E-Mail Address Validator

This function checks if an email address is valid or not. For example it is very useful if you have to validate a html form where someone should enter a real email address.

Read more