aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Mail
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #38585 from ↵Christoph Wurst2023-06-021-0/+30
|\ | | | | | | | | nextcloud/feature/ocp/send-message-with-subject-body feat(ocp): Allow sending emails with subject and body
| * feat(ocp): Allow sending emails with subject and bodyChristoph Wurst2023-06-011-0/+30
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix(ocp): Mark IMessage::attachInline as @since 27Christoph Wurst2023-06-011-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix calendar emails to be outlook compatibleAnna Larch2023-02-211-0/+12
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* remove depraction of validateEmailAddressArthur Schiwon2023-02-021-2/+0
| | | | | | | for there are legit use cases to validate an email address without sending there to Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Migrate to Symfony MailerCôme Chilliet2023-02-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-205-5/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix missing class in NewUserMailHelper and static code analysis errorsBennet Becker2023-01-032-2/+2
| | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
* refactor AutoSubmittedValue to Headers\AutoSubmitted and addingBennet Becker2023-01-032-6/+15
| | | | | | header name to constants Signed-off-by: Bennet Becker <dev@bennet.cc>
* use constant as default value in value getterBennet Becker2022-12-261-1/+1
| | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
* Update PHPDoc annotation in lib/public/Mail/IMessage.phpBennet B2022-12-231-1/+1
| | | | | Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Bennet B <bennet0496@users.noreply.github.com>
* Adding API method to set the Auto-Submitted header to OCP\Mail\IMessageBennet Becker2022-12-232-0/+76
| | | | | | and implementation in OC\Mail\Message Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* fix parameter type hint in phpdocArthur Schiwon2021-09-091-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-045-9/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-071-0/+1
| | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17456 from ↵John Molakvoæ2020-09-041-1/+2
|\ | | | | | | brad2014/feature/brad2014/12391-improve-imip-mail-message-take-2
| * Minor cleanup: php-cs-fixer, tests, interface consistencyBrad Rubenstein2020-09-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | IMipPlugin.php Removed blank lines to make php-cs-fixer happy. Minor cleanup: bugs found by Psalm static checker IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter. IMipPlugin: Fixes an undefined variable for events that do not have DTEND. Also use explicit string conversion for parameters and properties in several places. The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line. Signed-off-by: Brad Rubenstein <brad@wbr.tech>
* | Merge pull request #22432 from nextcloud/enh/phpdocRoeland Jago Douma2020-08-263-3/+0
|\ \ | | | | | | Add php docs build script
| * | Remove @package annotations from public namespaceJulius Härtl2020-08-263-3/+0
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add PHP doc for eventsMorris Jobke2020-08-101-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Provide the proper language to the mailerRoeland Jago Douma2020-04-161-1/+2
| | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-2/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Added Hook before Message is sendArne Hamann2020-03-241-0/+57
| | | | Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* Update license headersChristoph Wurst2019-12-054-5/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix commentsRoeland Jago Douma2018-03-051-3/+3
| | | | 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-36/+40
| | | | | | | * Fix typehints * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add info also to public interfaceJoas Schilling2018-02-161-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix welcome text for better grammar in themed instancesMorris Jobke2017-11-091-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-063-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move attachment creators to mailer classJoas Schilling2017-10-252-17/+17
| | | | 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-1/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add attachment support to emailsJoas Schilling2017-10-182-1/+68
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Introduce a public interface for MessageJoas Schilling2017-10-182-5/+88
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow templating of email subjectsJoas Schilling2017-10-181-0/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve text: 'you have now' -> 'you now have'Leon Klingele2017-09-081-1/+1
| | | | Signed-off-by: Leon Klingele <leon@struktur.de>
* Merge setMetaData into constructorJoas Schilling2017-09-042-8/+4
| | | | | | 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/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Stricter phan config fixesLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Allow meta info and iconsJoas Schilling2017-04-251-2/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add lists to HTML emailsJoas Schilling2017-04-241-0/+10
| | | | 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>
* 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/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* No newlines when heading is emptyJoas Schilling2017-04-121-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't duplicate the sentence with the headerJoas Schilling2017-04-121-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly escape heading, body and button textMorris Jobke2017-04-121-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>