Tag: Email

email

The Great Email Migration: A Tale of Digital Resilience

Once upon a time in the digital kingdom of Techlandia, an unusual incident sent shockwaves through the email servers of the renowned MyTechCorp. This incident, though entirely fictional, highlighted the importance of efficient email management and migration procedures. The Incident Unfolds On a sunny morning, the employees of MyTechCorp arrived at their desks to discover a mysterious glitch in the…

Read More »

Regular expression for validating email address

A simple regular expression (regex) for validating email address using PHP which I used mostly on my web apps. I love being a Web developer and it’s been a lot of fun — this is one of them [php]<?php function validateEmail($email) { if (ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@+([_a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]{2,200}\.[a-zA-Z]{2,6}$", $email)) { return true; } else { return false; } } ?>[/php] Usage: [php]<?php if (validateEmail($email))…

Read More »