summaryrefslogtreecommitdiffstats
path: root/utils/mail.go
Commit message (Collapse)AuthorAgeFilesLines
* Move file backend to its own service (#9435)Jesús Espino2018-09-201-297/+0
| | | | | | * Move file backend to its own service * Moving utils/inbucket to mailservice package
* add megacheck as makefile target (#9288)Daniel Schalla2018-09-031-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Fix code issues in channel_test.go Fix Channel Test Issues detected by Megacheck Fix API Emoji Test Issues detected by Megacheck Fixed API Issues Reported by Megacheck Fixed App issues reported by megacheck Remaining fixes removed test added by mistake from old HEAD gofmt Store Fixes simplified returns Fix test for multi member channel delete revert to delete unused function
* Update html2text lib to use the original repo (#8900)Carlos Tadeu Panato Junior2018-06-141-1/+1
|
* re-enabling TestSendMailUsingConfigAdvanced (#8836)Carlos Tadeu Panato Junior2018-05-271-1/+1
|
* Structured logging (#8673)Christopher Speller2018-04-271-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* Fixing misspell errors (#8544)Jesús Espino2018-03-291-1/+1
|
* Adding durafmt library and use it from enterprise global relay export (#8487)Jesús Espino2018-03-271-9/+12
| | | | | | | | * Adding durafmt library and use it from enterprise global relay export * Allow to specify different server host and server name on smtp connections * Fixing utils/smtp tests
* Receive the email date as parameter (#8484)Jesús Espino2018-03-211-3/+3
|
* Isolating configuration, sending emails and connection to SMTP. (#8452)Jesús Espino2018-03-151-42/+81
| | | | | | | | | | * Isolating configuration, sending emails and connection to SMTP. * Building smtpAddress once * Remove unnecesary errX variables * Moving mail connection information to new data structure
* general cleanup (#8387)Chris2018-03-071-4/+2
|
* [PLT-8024] Support LOGIN authentication method for SMTP (#8140)Carlos Tadeu Panato Junior2018-03-011-5/+53
| | | | | | * [PLT-8024] Support LOGIN authentication method for SMTP * added initial unit tests
* Modified advanced mail implementation to properly support multiple ↵Jonathan2018-02-151-6/+5
| | | | attachments with the same file name (#8289)
* Remove license globals entirely (#8229)Chris2018-02-091-6/+6
| | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
* XYZ-35: Added Support for GlobalRelay Compliance Export FormatJonathan2018-02-071-11/+49
| | | | | | | | | * Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export * Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo * Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests * Moving templates in from enterprise to solve test issues * Added export format to diagnostics * Changed email attachment code to use FileBackend so that S3 storage is properly supported
* send-mail refactor (#7885)Chris2017-11-231-4/+0
|
* Revert "workaround for go smtp bug (#7620)" (#7866)Chris2017-11-211-21/+3
| | | This reverts commit 8966452d1183e94fecc373b9d08c65a0573cbbc6.
* 7740: Set auto-submitted and precedence headers for emails (#7741)Carsten Pfeiffer2017-11-151-0/+2
| | | | | | | | * Set auto-submitted and precedence headers for emails This prevents auto-responses from out-of-office agents. * Apply gofmt
* workaround for go smtp bug (#7620)Chris2017-10-121-3/+21
|
* Renaming repoChristopher Speller2017-09-061-1/+1
|
* app type transition (#7167)Chris2017-09-061-1/+2
|
* Other Packages: NewLocAppError -> NewAppError (#7283)George Goldberg2017-08-251-10/+11
|
* [PLT-1015] Make all Mattermost system emails Multi-Part, with both a HTML ↵Carlos Tadeu Panato Junior2017-08-211-21/+26
| | | | | | | | | | | | and Plain Text version. (#5698) * Implementation to Make all Mattermost system emails Multi-Part, with both a HTML and Plain Text version * update lib * update code per review * update to use the mattermost repo
* [GH-6366] Add functionality to disable Authentication when connecting to ↵AJ Moon2017-07-311-13/+9
| | | | | | | | | | | | | | SMTP (#6639) * Issue #6366: Add feature to disable auth for Encrypted connections to SMTP settings. * Clean PLAIN AUTH Option * Reorder SMTP server setup and change helptext * remove unneeded setting and modify logic * text description change
* Move SMTP HELO before authentication (#6464)Harrison Healey2017-05-191-9/+9
|
* implement PLT-6469 - Send HELO request containing domain name to SMTP server ↵Carlos Tadeu Panato Junior2017-05-091-0/+10
| | | | (#6322)
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-5904 (Server): Config flag for SMTP Cert Check. (#5857)George Goldberg2017-03-271-2/+2
|
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* PLT-4618 Fix email subjects (#4537)enahum2016-11-141-5/+2
|
* mail: allow PLAIN auth over non-tls connections (#3900)Girish Ramakrishnan2016-09-021-2/+5
| | | | | | | This allows mattermost to use a non-tls connection with a SMTP server that supports PLAIN auth (but not LOGIN). The go library explicitly allows PLAIN auth over non-tls connections - https://golang.org/src/net/smtp/auth.go#L55 Fixes #2929
* PLT-3456 Fix Errors while starting the server (#3445)enahum2016-07-041-2/+2
| | | | | | * PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages. * Fixing tests
* PLT-7: Refactoring manuatesting & utils to use translations (chunk 5)Elias Nahum2016-01-251-14/+14
| | | | | - Add spanish translations - Skip tests
* Upgrade logging package=Corey Hulen2016-01-111-1/+1
|
* PLT-1607 adding more debugging info for email and push notifications=Corey Hulen2016-01-051-2/+2
|
* PLT-1607 adding more debugging info for email and push notifications=Corey Hulen2016-01-051-0/+1
|
* Fix email encoding issueMelvi Ts2015-10-161-3/+11
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* PLT-470 Adding STMP server connection check=Corey Hulen2015-09-291-1/+22
|
* Adding image properties=Corey Hulen2015-09-211-9/+3
|
* Adding email to admin console=Corey Hulen2015-09-211-36/+24
|
* Use better format for date, as RFC1123 re-defined it over RFC822, and states ↵Bastien Durel2015-08-271-1/+1
| | | | 'implementations SHOULD use numeric timezones instead of timezone names'
* missing tabBastien Durel2015-08-261-1/+1
|
* tabifyBastien Durel2015-08-261-1/+1
|
* add date header in mailBastien Durel2015-08-261-0/+2
|
* Add SMTP auth to STARTTLS connectionsZvi "Viz" Effron2015-08-231-0/+3
|
* Add support for SMTP servers with StartTLSJirka Hlavacek2015-08-191-0/+6
|
* Set the 'From' field to include the FeedbackName from the confignickago2015-07-241-1/+1
|
* Fixes mm-1415 adding email bypass flag=Corey Hulen2015-07-121-7/+6
|
* Unescaped escape characters in the subject line of emails so that all ↵Reed Garmsen2015-06-221-1/+2
| | | | characters appear properly
* Adding check of email configuation settings when config file is loadedChristopher Speller2015-06-171-32/+66
|