Fix malformed address

Hello

I found a problem on a software based on yours for sending notification email.
Basicaly, you don't follow the guideline regarding the header of the sent email, especially on From: attribute.
Please see the details here : https://github.com/gogits/gogs/pull/537 and here : https://github.com/Exim/exim/wiki/Q0087