Is there any rule for having a specified amount of @ symbol in any email id. Just come to my mind if we're to check if an email id is valid or not using PHP.
As far as I'm aware, you can only have one. The @ symbol is the delimiter between the domain name and the address name; multiple @ symbols would very likely confuse the email parser.
In addition to restrictions on syntax, there is a length limit on email addresses. That limit is a maximum of 64 characters (octets) in the "local part" (before the "@") and a maximum of 255 characters (octets) in the domain part (after the "@") for a total length of 320 characters.
The short answer is yes, email addresses can include these characters, but with some exceptions. The two biggest factors to consider are hyphen placement and email service provider.
If enquoted multiple @
are allowed. I have to ask why do you need this information. Please please please do not try to write a regex / function or whatever to validate emailaddresses. You have to worry about 3 rfc's (and perhaps 4 if you want to take into account unicode). And you will fail and it will drive you mad.
See my previous answer for more information and a regex you may use if you have an older version of PHP
P.S.
In case someone missed my point: do not try to come up with some validation of your own to validate emailaddresses yourself "ever".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With