Bo-Yi Wu
6510e57758
fix gofmt error
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Philip Couling
d4924d45d6
Implement sendmail ( #355 )
...
* 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
8 years ago
Lunny Xiao
2e565bc1c4
Golint fixed for modules/mailer
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- 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
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Unknwon
0240f520ab
#2954 minor fix for when to set HTML alternative
9 years ago
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
9 years ago
Sandro Santilli
d35a1c30f4
Do not write HTML in text/plain mail part ( #2954 )
...
* 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)
9 years ago
Unknwon
926e75d721
#2334 strip whitespace for migrate URL
...
Also fix a possible race condition while install
9 years ago
Unknwon
2d3ecbe5b2
make mailer log more verbose
9 years ago
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
9 years ago
Unknwon
e75fd2f783
simplify names
9 years ago
Unknwon
b003b18788
#1649 Using commas to delineate emails
9 years ago
Hongcai Deng
fbb3486c95
fix syntax error
9 years ago
Hongcai Deng
7b92dc3d9d
implemented #1528
9 years ago
Unknwon
d7c3c79c00
minor fix on #1517
9 years ago
Yixin Hao
d720c92d99
Added supported of 'AUTH LOGIN'
...
i've been missing a 'r' in previous, lol~
9 years ago
Unknwon
c47afdff58
add config options for HELO
9 years ago
Gogs
2f1369c614
add error for hello func
10 years ago
Gogs
5293ae1221
Fix: 504 5.5.2 <localhost>: Helo command rejected
10 years ago
Dmitry Azhichakov
3aaf292ba8
Fix "forcing" client certificate for SMTP
10 years ago
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.
10 years ago
Unknwon
bd555551ce
fix #801
10 years ago
Peter
c884ecfea1
Parse the from string to extract the email address
10 years ago
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
10 years ago
Peter
2321b4b272
Change from header in email, fixes #765
10 years ago
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.
10 years ago
Unknwon
b231b8c927
update locale and mirror code format
10 years ago
Peter
eca42bcb44
Prefer CRAM-MD5 over PLAIN authentication
10 years ago
Peter
5ffeca35e7
Add option to use CRAM-MD5 as authentication method in the mailer
10 years ago
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.
10 years ago
Alukardd
21081836ba
Allow send mail without authentication if SMTP server allow this
10 years ago
mcheng89
b9881d1e7b
check for smtp AUTH extension
10 years ago
Unknwon
39931f8e00
Allow mail with self-signed certificates
10 years ago
Michel Roux
6705559ce0
Fix malformed address
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
10 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
4744996f9a
Make gmail auth work
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
Unknown
c1a3d4fefb
Add mail notify for creating issue
11 years ago
Unknown
f6596f11c4
All configuration reload-able
11 years ago
Unknown
f9fd972cbe
Bug fix
11 years ago
Unknown
6f68620860
Pools limit concurrent nums
11 years ago
Unknown
de087c7b4a
Add send register confirm mail
11 years ago