We can't help you make your users type correctly!
If what they type is not a
valid email address[
^] then it will be rejected.
Things to try:
1) Trim it - you do that when you save the data into your DB, so why not use the trimmed version as the actual address?
2) Validate it. Look at the link above and check the data. If it is invalid, then don't save it in your DB, just report the problem to the user!