If you have a website and lots of people create his accounts with this format:


This issue is causing me several problems.

  1. people forgot they append +mycompanysite and can't login
  2. people can't recover password for the same reason above (email not registered)

How am I supposed to handle this situation?


You could include the email encrypted in a cookie to help recover the account easily.

As far as I know, if you send an email to mail+company_site@gmail.com it will be received at mail@gmail.com so you can use this option to recover the account. For example, if you check that someone is trying to log in with:

  • mail+wrong1@gmail.com
  • mail+wrong2@gmail.com
  • mail+wrong3@gmail.com

Automatically you could send an email to mail@gmail.com with the actual email account (mail+correct@gmail.com) as a reminder in case they forgot the log-in data.

  • So, it's not easier if I remove always all words after plus sign when login in or recover password? – anvd Sep 19 '18 at 15:04
  • As a user, I don't like to be restricted, but obviously, that's an option. – Emirodgar Sep 19 '18 at 16:22
  • I mean, an user can set mail+mycompanysite@gmail.com, but I only use mail@gmail.com when doing login / recover pass validation. What do you think? Looks good for me, for the user is something "under the hood". – anvd Sep 19 '18 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.