aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Mail/Message.php
Commit message (Collapse)AuthorAgeFilesLines
* Adds same object return annotations.Faraz Samapoor2023-06-271-0/+21
| | | | | | | Based on: https://github.com/nextcloud/server/pull/38987#discussion_r1241866676 Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Refactors lib/private/Mail.Faraz Samapoor2023-06-251-35/+12
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* feat(ocp): Allow sending emails with subject and bodyChristoph Wurst2023-06-011-13/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix calendar emails to be outlook compatibleAnna Larch2023-02-211-0/+16
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Migrate to Symfony MailerCôme Chilliet2023-02-021-93/+95
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor AutoSubmittedValue to Headers\AutoSubmitted and addingBennet Becker2023-01-031-7/+7
| | | | | | 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>
* fix static-analysis error and formatting codeBennet Becker2022-12-231-6/+11
| | | | Signed-off-by: Bennet Becker <dev@bennet.cc>
* fix getAutoSubmitted return type and adding unit testsBennet Becker2022-12-231-1/+1
| | | | Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* Adding API method to set the Auto-Submitted header to OCP\Mail\IMessageBennet Becker2022-12-231-0/+33
| | | | | | and implementation in OC\Mail\Message Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
* Do not throw errors when invalid setTo email is providedJulius Härtl2022-11-031-7/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-2/+2
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+2
| | | | | | | | | | | | | | | 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-4/+13
| | | | Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* Update license headersChristoph Wurst2019-12-051-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Provide an option to disable HTML emailsMorris Jobke2018-04-161-7/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not convert email addresses with idn_to_ascii if INTL_IDNA_VARIANT_UTS46 ↵Jared Boone2018-04-051-1/+1
| | | | | | | | is undefined. Fixes https://github.com/nextcloud/server/issues/8387. Signed-off-by: Jared Boone <jared.boone@gmail.com>
* Fix commentsRoeland Jago Douma2018-03-051-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make \OCP\Mail strictRoeland Jago Douma2018-03-051-20/+21
| | | | | | | * Fix typehints * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move attachment creators to mailer classJoas Schilling2017-10-251-21/+0
| | | | 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-181-0/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Introduce a public interface for MessageJoas Schilling2017-10-181-1/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use non-deprecated INTL_IDNA_VARIANT_UTS46Lukas Reschke2017-08-091-2/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* More phpstorm inspection fixesRoeland Jago Douma2017-07-241-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move \OC\Mail to PSR-4Roeland Jago Douma2016-04-201-0/+252