Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7015783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:41:53+00:00 2026-05-27T22:41:53+00:00

I want each user to register with a unique email address. However some email

  • 0

I want each user to register with a unique email address. However some email addresses like GMail allow you to add a + suffix which could be used to register multiple accounts to a website but it all goes to a single email address e.g.

  • bob@gmail.com goes to bob@gmail.com
  • bob+1@gmail.com goes to bob@gmail.com
  • bob+2@gmail.com goes to bob@gmail.com
  • bob+3@gmail.com goes to bob@gmail.com
  • bob+4@gmail.com goes to bob@gmail.com

Effectively they can have as many email addresses as they want. This is a problem because my website sees it as 5 separate email addresses but gmail sees it as one email address.

I was thinking of blocking any email addresses with a ‘+’ in, but I don’t want to block any valid email addresses. What is the standard practice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:41:53+00:00Added an answer on May 27, 2026 at 10:41 pm

    I don’t think there is a standard practice on how to handle this, other than not allowing + all together. On the other hand, preventing it doesn’t seem to be that useful. It won’t take more than a few minutes to create an entirely new e-mail address on some free service if whoever you’re intending to block-out really needs it.

    It should also be noted that a lot of other e-mail providers also provide subaddressing, but not using the plus sign, but with a hyphen (Yahoo, Runbox, etc.), and attempting to block this out will only cause trouble for anybody just having an e-mail address with a hyphen in it. It’s a war that you’ve already lost.

    Besides, if you filter out plus signs, you’re essentially not compliant with the RFC3696 standard anymore:

    The exact rule is that any ASCII character, including control
    characters, may appear quoted, or in a quoted string. […]

    Without quotes, local-parts may consist of any combination of
    alphabetic characters, digits, or any of the special characters

    ! # $ % & ' * + - / = ?  ^ _ ` . { | } ~

    But you could just strip out the plus part if you insist.

    $emails = array('bob@gmail.com','bob+1@gmail.com','bob+hello@gmail.com');
    
    foreach ($emails as &$email)
    {
        list($identifier, $domain) = explode('@',$email);
        list($name) = explode('+',$identifier);
        $email = $name."@".$domain;
    }
        
    print_r($emails);
    

    The above will give you

    Array
    (
        [0] => bob@gmail.com
        [1] => bob@gmail.com
        [2] => bob@gmail.com
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For each user, I want to allow them to choose their preferences, such as
I want to register the date and time of each time switch user is
I have about 1 million data in users table. Now I want each user
I want to find user tweet's count for each month from the time when
I want to write a user script that runs some custom JavaScript code on
I am trying to create an application like Facebook in which each user can
I want to create an application where the application will ask user to register
I want each action taken on certain tables to be logged. I want logging
I have a DevExpress GridControl and i want each cell to be multiline. I
Assume I have an enum, and I want each enum value to be associated

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.