Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for extra sendmail arguments (#2731) | Jonas Bröms | 2017-10-25 | 1 | -0/+1 |
| | | | | | | | | | | | | * Add support for extra sendmail arguments * Sendmail args to exec.command should be a list * Add go-shellquote package * Use go-shellquote lib for parsing Sendmail args * Only parse if sendmail is configured | ||||
* | Fix sending mail with a non-latin display name. #2102 (#2559) | Rémi Saurel | 2017-09-21 | 1 | -3/+3 |
| | | | | | | | | | | * Fix sending mail with a non-latin display name. #2102 Signed-off-by: Rémi Saurel <contact@remi-saurel.com> * Take into account the possibility that setting.MailService.From is in `name <email@address>` format. #2102 Signed-off-by: Rémi Saurel <contact@remi-saurel.com> | ||||
* | Fix fmt error in mailer (#2490) | Jonas Östanbäck | 2017-09-12 | 1 | -1/+1 |
| | |||||
* | Fix slice out of bounds error in mailer (#2479) | Jonas Östanbäck | 2017-09-11 | 1 | -1/+2 |
| | |||||
* | fix misspell (#1996) | Bo-Yi Wu | 2017-06-18 | 1 | -1/+1 |
| | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> | ||||
* | Send mails as HTML as default. Setting for send as plain text. (#1648) | Jonas Östanbäck | 2017-06-07 | 1 | -13/+14 |
| | | | | | | | | | | | | | * Send mails as HTML as default. Setting for send as plain text. * Add new option SendAsPlainText. remove EnableHTMLAlternative * Send HTML mails as default * Add html check if html2text should be performed * Send only multipart or plain. Add deprication warning for ENABLE_HTML_ALTERNATIVE * Still use ENABLE_HTML_ALTERNATIVE for backward compatibility * Changed to not ignore html2text errors | ||||
* | Fix typos in models/ and modules/ (#1248) | Ethan Koenig | 2017-03-15 | 1 | -1/+1 |
| | |||||
* | Cleanup log messaging | Gabriel Jackson | 2017-02-02 | 1 | -1/+1 |
| | | | | | | | | | This change corrects a few logging issues: * Standardized formatting errors with '%v'. * Standardized failure warning word usage. * Corrected an instance of using the standard log library when the gitea log library should be used instead. | ||||
* | fix gofmt error | Bo-Yi Wu | 2016-12-30 | 1 | -3/+2 |
| | | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> | ||||
* | Implement sendmail (#355) | Philip Couling | 2016-12-25 | 1 | -6/+54 |
| | | | | | | | | | | | | | | | | * Implemented sendmail. This piggybacks on existing configuration to keep the change simple * Changed privicy of new sendSMTP and sendSendmail functions * Fixed Lint errors * Seperated SMTP and sendmail into their own senders * Making new structs private as they should not be used externally now * Added sendmail setting to ini file * Minor code cleanup | ||||
* | Golint fixed for modules/mailer | Lunny Xiao | 2016-11-25 | 1 | -1/+8 |
| | |||||
* | Update import paths from github.com/go-gitea to code.gitea.io (#135) | Sandro Santilli | 2016-11-10 | 1 | -2/+2 |
| | | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path | ||||
* | Change import reference to match gitea instead of gogs (#37) | Rémy Boulanouar | 2016-11-03 | 1 | -2/+2 |
| | |||||
* | Web editor: fix cannot create new file in subdirectory | Unknwon | 2016-08-29 | 1 | -2/+2 |
| | |||||
* | #2854 fix no mail notification when issue is closed/reopened | Unknwon | 2016-07-16 | 1 | -1/+3 |
| | |||||
* | #2954 minor fix for when to set HTML alternative | Unknwon | 2016-05-30 | 1 | -5/+3 |
| | |||||
* | #2954 use text/plain as default email content format | Unknwon | 2016-05-30 | 1 | -7/+11 |
| | |||||
* | Do not write HTML in text/plain mail part (#2954) | Sandro Santilli | 2016-05-30 | 1 | -3/+11 |
| | | | | | | | | | | * Do not write HTML in text/plain mail part Fixes #2928 * Pass text/plain first, text/html second * Do not send plain/text email if html2text failed (untested) | ||||
* | #2334 strip whitespace for migrate URL | Unknwon | 2016-02-20 | 1 | -1/+4 |
| | | | | Also fix a possible race condition while install | ||||
* | make mailer log more verbose | Unknwon | 2015-12-19 | 1 | -9/+9 |
| | |||||
* | user gomail and new activate account email tpl | Unknwon | 2015-09-17 | 1 | -118/+64 |
| | | | | | | - #1496: fallback plain text - #1002: add date header - #913: fix encoding of header | ||||
* | simplify names | Unknwon | 2015-09-16 | 1 | -2/+6 |
| | |||||
* | #1649 Using commas to delineate emails | Unknwon | 2015-09-16 | 1 | -3/+3 |
| | |||||
* | fix syntax error | Hongcai Deng | 2015-09-07 | 1 | -3/+3 |
| | |||||
* | implemented #1528 | Hongcai Deng | 2015-09-07 | 1 | -2/+4 |
| | |||||
* | minor fix on #1517 | Unknwon | 2015-08-20 | 1 | -5/+5 |
| | |||||
* | Added supported of 'AUTH LOGIN' | Yixin Hao | 2015-08-20 | 1 | -1/+31 |
| | | | i've been missing a 'r' in previous, lol~ | ||||
* | add config options for HELO | Unknwon | 2015-07-03 | 1 | -6/+11 |
| | |||||
* | Merge pull request #943 from diseaz/mailer-client-cert | 无闻 | 2015-02-28 | 1 | -0/+8 |
|\ | | | | | Use client certificate for SMTP over TLS | ||||
| * | Fix "forcing" client certificate for SMTP | Dmitry Azhichakov | 2015-02-13 | 1 | -6/+8 |
| | | |||||
| * | New feature: SMTP connection may use client certificate. | Dmitry Azhichakov | 2015-02-12 | 1 | -0/+6 |
| | | | | | | | | | | | | New config keys in [mailer] section: - CERT_FILE: path to a certificate file. - KEY_FILE: path to a key file. | ||||
* | | add error for hello func | Gogs | 2015-02-20 | 1 | -1/+4 |
| | | |||||
* | | Fix: 504 5.5.2 <localhost>: Helo command rejected | Gogs | 2015-02-19 | 1 | -0/+7 |
|/ | |||||
* | fix #801 | Unknwon | 2014-12-31 | 1 | -1/+1 |
| | |||||
* | Merge pull request #766 from phsmit/correct_from | 无闻 | 2014-12-21 | 1 | -7/+10 |
|\ | | | | | Correct usage of FROM in email creation | ||||
| * | Parse the from string to extract the email address | Peter | 2014-12-19 | 1 | -1/+6 |
| | | |||||
| * | Remove unused "User" member of Message Struct and fix bounce address | Peter | 2014-12-19 | 1 | -6/+5 |
| | | | | | | | | | | | | 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 | ||||
| * | Change from header in email, fixes #765 | Peter | 2014-12-19 | 1 | -2/+1 |
| | | |||||
* | | Remove standard mailer port lines | Peter | 2014-12-19 | 1 | -4/+0 |
|/ | | | | This lines got committed by accident. They do actually nothing, as SplitHostPort will give an error if port is not given. | ||||
* | update locale and mirror code format | Unknwon | 2014-12-19 | 1 | -10/+10 |
| | |||||
* | Prefer CRAM-MD5 over PLAIN authentication | Peter | 2014-12-18 | 1 | -3/+3 |
| | |||||
* | Add option to use CRAM-MD5 as authentication method in the mailer | Peter | 2014-12-18 | 1 | -6/+13 |
| | |||||
* | Rewrite of SendMail function | Peter | 2014-12-18 | 1 | -15/+40 |
| | | | | | | 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. | ||||
* | Allow send mail without authentication if SMTP server allow this | Alukardd | 2014-12-07 | 1 | -1/+4 |
| | |||||
* | check for smtp AUTH extension | mcheng89 | 2014-10-31 | 1 | -1/+1 |
| | |||||
* | Allow mail with self-signed certificates | Unknwon | 2014-10-09 | 1 | -2/+51 |
| | |||||
* | Fix malformed address | Michel Roux | 2014-10-08 | 1 | -1/+1 |
| | |||||
* | New UI merge in progress | Unknwon | 2014-07-26 | 1 | -1/+1 |
| | |||||
* | Fixed #209 | Unknown | 2014-05-25 | 1 | -6/+6 |
| | |||||
* | Make gmail auth work | Unknown | 2014-05-15 | 1 | -5/+3 |
| |