Fixed the SMTP whitespace big. SMTP address with whitespaces are now stripped properly.

Review Request #3759 — Created Jan. 18, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Fixed the SMTP whitespace big. SMTP address with whitespaces are now stripped properly.
Produced the bug with an smtp server "smtp.gmail.com     " and triggered an email event (registration for new user). Log produced an error: "Unknown host". Added the changes on the diff and tried again, the email is sent and the value that is saved is stripped of the redudant spaces.