summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
Commit message (Collapse)AuthorAgeFilesLines
* Fix commentsRoeland Jago Douma2018-03-052-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-03-051-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make \OCP\Mail strictRoeland Jago Douma2018-03-054-49/+53
| | | | | | | * Fix typehints * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow custom HTML in HTML EmailsJoas Schilling2018-02-151-11/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix email buttons for white themeMorris Jobke2017-12-111-4/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-064-1/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move attachment creators to mailer classJoas Schilling2017-10-252-21/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix docsJoas Schilling2017-10-191-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Extend the API with teh parameters from SwiftJoas Schilling2017-10-191-2/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add attachment support to emailsJoas Schilling2017-10-182-0/+98
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Introduce a public interface for MessageJoas Schilling2017-10-182-4/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow templating of email subjectsJoas Schilling2017-10-181-0/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge setMetaData into constructorJoas Schilling2017-09-042-14/+21
| | | | | | This ensures that the meta data is set in the beginning Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add meta information to emails for better customisationJoas Schilling2017-08-241-0/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use non-deprecated INTL_IDNA_VARIANT_UTS46Lukas Reschke2017-08-092-3/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Stricter phan config fixesLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #5844 from nextcloud/phpstorm_inspect2Morris Jobke2017-07-242-3/+3
|\ | | | | More phpstorm inspection fixes
| * More phpstorm inspection fixesRoeland Jago Douma2017-07-242-3/+3
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove unneeded stylesMorris Jobke2017-07-241-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Adjust to height=120Lukas Reschke2017-07-241-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Revert "Set max-width of image to 100px in Outlook as well"Lukas Reschke2017-07-241-3/+0
|/
* Set max-width of image to 100px in Outlook as wellMorris Jobke2017-07-231-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to overwrite the email template againJoas Schilling2017-06-061-0/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add function to request SVG or regular fallback imageLukas Reschke2017-05-081-1/+1
| | | | | | Fixes https://github.com/nextcloud/server/issues/4647 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Allow meta info and iconsJoas Schilling2017-04-251-6/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add lists to HTML emailsJoas Schilling2017-04-241-22/+104
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename renderHTML to renderHtmlMorris Jobke2017-04-191-2/+2
| | | | | | | * fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4369 from nextcloud/fix-translationsMorris Jobke2017-04-181-2/+2
|\ | | | | Fix translations
| * Fix translationsJoas Schilling2017-04-181-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add instance name to default senderLukas Reschke2017-04-181-1/+1
|/ | | | | | Otherwise your mail program shows "foo@mail.com" instead of "Nextcloud" or whatever your instance name is. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update email template for lost password emailMorris Jobke2017-04-121-2/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* No newlines when heading is emptyJoas Schilling2017-04-121-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make the plain text footer standard compliant and add a space after '--'. It ↵Bjoern Schiessle2017-04-121-1/+1
| | | | | | also adds a line break in front so that there is some spacing between the mail body and the footer Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Use instance name as alt-textJoas Schilling2017-04-121-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't duplicate the sentence with the headerJoas Schilling2017-04-121-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly escape heading, body and button textMorris Jobke2017-04-121-5/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add addBodyButton to add a single button to email templatesMorris Jobke2017-04-121-0/+64
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to set text versions for the plain text emailMorris Jobke2017-04-111-7/+24
| | | | | | * 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-113-114/+23
| | | | | | 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-093-11/+14
| | | | | | | | | | | | | * 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-072-31/+50
| | | | | | 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-072-0/+499
| | | | | | | * 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>
* Fix default of mail_smtpmode - fixes #3102Morris Jobke2017-01-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix othersJoas Schilling2016-07-212-2/+4
|
* Update license headersLukas Reschke2016-05-262-2/+2
|
* Move \OC\Mail to PSR-4Roeland Jago Douma2016-04-202-0/+475