<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
</span>Are there other characters that are legal?</blockquote><div><br>'+' is often used as a sub-address delimiter. GMail uses it to allow you to create 'disposable' addresses. Users may use it to create mutliple accounts for a single GMail account. <br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> A quick search for patterns for<br>
legal email addresses was a bit inconclusive, but it seems that most of<br>
the "dangerous" characters are illegal in email addresses, anyway. It felt<br>
safer to pick the safe characters than to try to remove the unsafe ones.<br>
And since email addresses are already unique...<br></blockquote><div><br></div><div>Ok, I just typed the below response, and then figured that you meant that "_.-" where being left in, not stripped out. My bad. In that case it's probably fine, apart from perhaps the '+' case above. </div><div><br></div><div>Martin</div><div><br>## It's only likely to be problem for people who use large email providers - Yahoo, Gmail, Hotmail, etc. <br>## <br>## You end up with: <br>## <br>## <a href="mailto:john_smith@gmail.com">john_smith@gmail.com</a><br>## <a href="mailto:john.smith@gmail.com">john.smith@gmail.com</a><br>## <a href="mailto:john-smith@gmail.com">john-smith@gmail.com</a><br>## <a href="mailto:johnsmith@gmail.com">johnsmith@gmail.com</a><br>## <br>## all mapping to <a href="http://johnsmith_at_gmail.com">johnsmith_at_gmail.com</a><br>## <br>## Again, unlikely to happen, but if you implement it that way then it's almost certainly going to crop up. ;-) </div></div></div></div>