googlemail or gmail – a gotcha to wotcha

Heres one that threw me for a min or 60 today.

Persons writing code handling email addresses, at least from google, should bear in mind that in some cases a user may register an account using their gmail email account (only about 99% of online registration forms require an email address as part of the registration process).
However, could be that the registrant has a field settings in googlemail account (under the settings->accounts tab) to “Send email as” you@googlemail.com – which is not you@gmail.com.
The clue is in the top right corner of the brower window when logged into your gmail (googlemail or whatever its called) inbox.

Arguably, $e= str_replace(“gmail”,”googlemail”,$e);

But then there are some oddballs that might do it the other way round so it’s anyones guess.

Embedded codes in emails are better to identify the sender than their email address – odd as this may sound.

Hmmm

Leave a Comment