summaryrefslogtreecommitdiffstats
path: root/tests/lib/Mail
Commit message (Collapse)AuthorAgeFilesLines
* Make phpunit8 compatibleRoeland Jago Douma2019-11-273-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Addressing comments, array() to []Branko Kokanovic2018-12-171-2/+2
| | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
* Expose Swift Mailer streaming options in config, fixes #12702Branko Kokanovic2018-11-301-0/+22
| | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
* Add testcases for pipe modeDaniel Kesselberg2018-11-291-12/+38
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fallback to default path is sendmail can't be foundRoeland Jago Douma2018-11-021-1/+7
| | | | | | | | | | | If the sendmail binary can't be found at all we fallback to the default path. It most likely is not there but then at least a proper error message pops up. Updated the tests to also properly pass. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Swift to \Swift_Mailer as abstractionRoeland Jago Douma2018-07-041-21/+12
| | | | | | | * \Swift_Mailer handles starting the transport etc properly * Fixed tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Provide an option to disable HTML emailsMorris Jobke2018-04-162-1/+53
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2018-03-052-3/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix email buttons for white themeMorris Jobke2017-12-111-0/+16
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix welcome text for better grammar in themed instancesMorris Jobke2017-11-091-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Improve text: 'you have now' -> 'you now have'Leon Klingele2017-09-081-4/+4
| | | | Signed-off-by: Leon Klingele <leon@struktur.de>
* Fix testsMorris Jobke2017-09-051-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit testsJoas Schilling2017-09-041-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename renderHTML to renderHtmlMorris Jobke2017-04-191-4/+4
| | | | | | | * fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix translationsJoas Schilling2017-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update email template for lost password emailMorris Jobke2017-04-121-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use instance name as alt-textJoas Schilling2017-04-121-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add addBodyButton to add a single button to email templatesMorris Jobke2017-04-121-0/+38
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to set text versions for the plain text emailMorris Jobke2017-04-111-0/+42
| | | | | | * allows different texts for HTML and text version of the email Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add IEMailTemplate to public OCP APILukas Reschke2017-04-111-11/+26
| | | | | | Also adds `\OCP\Mail\IMailer::createEMailTemplate` as helper so the functionality can easily be used within apps. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-092-14/+6
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add support for themingLukas Reschke2017-04-071-25/+87
| | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* New layout for welcome emailMorris Jobke2017-04-071-0/+75
| | | | | | | * thanks to @espina2 for make this nice design * the button says "Set password" if the admin didn't specified a password Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust the testsJoas Schilling2017-01-201-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-202-0/+306
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader