Commit Graph

59 Commits (c9b65f0fdcaebb23cc6071e86881f623e6b6a3e7)

Author SHA1 Message Date
Unknwon 932dbccb67 fix import path, fix
Unknwon 21e13cb51e Triggere mailer for admin created accounts
Unknwon 562e47f31c finish all new template for current ones
Unknwon 9d36fc6986 finish new auth e-mails
Unknwon 373731f5e8 user gomail and new activate account email tpl
- : fallback plain text
- : add date header
- : fix encoding of header
Unknwon e75fd2f783 simplify names
Unknwon b003b18788 Using commas to delineate emails
Hongcai Deng fbb3486c95 fix syntax error
Hongcai Deng 7b92dc3d9d implemented
Louis Matthijssen e6917b6be8 Fix missing space in issue emails subject
Unknwon d7c3c79c00 minor fix on
Yixin Hao d720c92d99 Added supported of 'AUTH LOGIN'
i've been missing a 'r' in previous, lol~
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon c47afdff58 add config options for HELO
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
无闻 3db80f2c55 Merge pull request from diseaz/mailer-client-cert
Use client certificate for SMTP over TLS
Gogs 2f1369c614 add error for hello func
Gogs 5293ae1221 Fix: 504 5.5.2 <localhost>: Helo command rejected
Dmitry Azhichakov 3aaf292ba8 Fix "forcing" client certificate for SMTP
Dmitry Azhichakov 8a6c86644e New feature: SMTP connection may use client certificate.
New config keys in [mailer] section:
 - CERT_FILE: path to a certificate file.
 - KEY_FILE: path to a key file.
Unknwon bd555551ce fix
无闻 030b3d751e Merge pull request from phsmit/correct_from
Correct usage of FROM in email creation
无闻 a18decf4cc Merge pull request from phsmit/multiple_emails
Multiple emails
Peter c884ecfea1 Parse the from string to extract the email address
Peter edbe1de026 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
Peter 2321b4b272 Change from header in email, fixes
Peter 007cf33e88 Remove standard mailer port lines
This lines got committed by accident. They do actually nothing, as SplitHostPort will give an error if port is not given.
Unknwon b231b8c927 update locale and mirror code format
Peter eca42bcb44 Prefer CRAM-MD5 over PLAIN authentication
Peter 5ffeca35e7 Add option to use CRAM-MD5 as authentication method in the mailer
Peter 87be137b88 Rewrite of SendMail function
The SendMail function is rewritten and has the following new functionality:
 - It is optional to skip verification of keys. The config option SKIP_VERIFY is added
 - If the port is 465, or ending on 465, the TLS(/SSL) connection is started first.
Peter ec71d538fc Method for activating email addresses through verification email
Alukardd 21081836ba Allow send mail without authentication if SMTP server allow this
mcheng89 b9881d1e7b check for smtp AUTH extension
Unknwon 39931f8e00 Allow mail with self-signed certificates
Michel Roux 6705559ce0 Fix malformed address
Mathieu Gagnon 3549fb0ea8 Remove APP_LOGO setting
Unknwon 8dd07c0ddd New UI merge in progress
Unknown 9924e65ca1 In progress of name template name constant
Unknown 4f2f3c2857 Code convention
Unknown 63baf76ab2 Fix
Unknown 688ec6ecbd Fixed
Unknown 4744996f9a Make gmail auth work
Unknown e05b1385fb Bug fix
Unknown 33d32585b1 Add mention, read/unread support of issue tracker
Unknown cb505b22ec Fix
Unknown 02687cbdf3 Add mail notify for new collaborator
Unknown 9d983f27d6 go vet
Unknown 9ea9818d32 Fix issue with log in with GitHub but need more error handle after
Unknown b7c3b0cc73 Add reset password, fix