summaryrefslogtreecommitdiffstats
path: root/utils/mail_test.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-9849 Added tracking of which settings are set through environment ↵Harrison Healey2018-04-091-3/+3
| | | | | | | | | | | | | | | | variables (#8586) * MM-9849 Added tracking of which settings are set through environment variables * Removed old version of viper * Added forked version of viper * Fixed unit tests * Fixed more unit tests * Removed copy from App.GetEnvironmentConfig
* Comment out problematic mail test (#8579)Joram Wilander2018-04-041-6/+2
|
* Adding durafmt library and use it from enterprise global relay export (#8487)Jesús Espino2018-03-271-7/+11
| | | | | | | | * 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
* Isolating configuration, sending emails and connection to SMTP. (#8452)Jesús Espino2018-03-151-15/+61
| | | | | | | | | | * Isolating configuration, sending emails and connection to SMTP. * Building smtpAddress once * Remove unnecesary errX variables * Moving mail connection information to new data structure
* [PLT-8024] Support LOGIN authentication method for SMTP (#8140)Carlos Tadeu Panato Junior2018-03-011-0/+64
| | | | | | * [PLT-8024] Support LOGIN authentication method for SMTP * added initial unit tests
* Temporarily disable flaky TestSendMailUsingConfigAdvanced test (#8379)Joram Wilander2018-02-271-8/+2
| | | | | | * Temporarily disable flaky TestSendMailUsingConfigAdvanced test * Remove imports
* Modified advanced mail implementation to properly support multiple ↵Jonathan2018-02-151-10/+31
| | | | attachments with the same file name (#8289)
* Remove license globals entirely (#8229)Chris2018-02-091-3/+3
| | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
* XYZ-35: Added Support for GlobalRelay Compliance Export FormatJonathan2018-02-071-4/+83
| | | | | | | | | * 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
* Remove global cfg vars (#8099)Chris2018-01-121-2/+6
| | | | | | * remove global cfg vars * enterprise update
* send-mail refactor (#7885)Chris2017-11-231-9/+9
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-2/+2
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* 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
* improvements for inbucket email test and re-enable Email mention test (#5647)Carlos Tadeu Panato Junior2017-03-111-7/+19
| | | | Now if we dont get the mailbox to check the email we try 5 times, if still no message we disable the email verification.
* add initial tests for utils/mail.go (#5176)Carlos Tadeu Panato Junior2017-01-241-0/+61