]> source.dussan.org Git - gitea.git/commit
Remove unused "User" member of Message Struct and fix bounce address
authorPeter <peter@smitmail.eu>
Fri, 19 Dec 2014 20:48:21 +0000 (22:48 +0200)
committerPeter <peter@smitmail.eu>
Fri, 19 Dec 2014 20:48:21 +0000 (22:48 +0200)
commitedbe1de026cbc6d138a4382a3207c9f4f8280193
treee01a92b3fce788ff55ee44ad93f4e9b559ff3875
parent2321b4b272c568ebcebf993c051c8ab60f651748
Remove unused "User" member of Message Struct and fix bounce address

The User member of a message is not needed anymore.

The from that is send to the server, should always be the "system" from. This is also called the Bounce address http://en.wikipedia.org/wiki/Bounce_address
modules/mailer/mail.go
modules/mailer/mailer.go