aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-4/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(Mailer): Fix sendmail binary fallbackfix/mailer-binaryfinder-fallbackJosh2024-09-161-1/+4
| | | | | | feat: add debug logging to sendmail binary finder Signed-off-by: Josh <josh.t.richards@gmail.com>
* Merge pull request #47435 from phreaker0/fix-mail-template-class-callJoas Schilling2024-08-261-12/+14
|\ | | | | fix(mailer): Call to custom mail_template_class
| * fix call to custom mail_template_classChristoph Klaffl2024-08-221-12/+14
| | | | | | | | Signed-off-by: Christoph Klaffl <christoph@phreaker.eu>
* | style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-253-26/+26
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(emails): adjust mail button to new designskjnldsv2024-08-061-12/+12
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat: mail provider backendSebastianKrupinski2024-07-231-0/+255
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-172-2/+43
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(Mailer): Allow to enforce strict email formatFerdinand Thiessen2024-05-311-1/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge branch 'master' into refactor/OC-Server-getMailerJohn Molakvoæ2024-05-304-110/+12
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * chore: Add SPDX headerAndy Scherzinger2024-05-244-108/+10
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Add "-i" to sendmail's pipe FedericoHeichou2024-01-191-1/+1
| | | | | | Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
* | Refactor `OC\Server::getMailer`Andrew Summers2023-08-291-1/+1
|/ | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* Adds same object return annotations.Faraz Samapoor2023-06-272-0/+24
| | | | | | | 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>
* Merge pull request #38958 from nextcloud/enh/noid/use-getsystemvalue-mailerSimon L2023-06-261-4/+4
|\ | | | | use getsystemvalue-functions in Mailer.php
| * use getsystemvalue-functions in Mailer.phpSimon L2023-06-231-4/+4
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | Refactors lib/private/Mail.Faraz Samapoor2023-06-254-168/+89
|/ | | | | | 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>
* Merge pull request #36118 from ↵Anna2023-05-101-0/+16
|\ | | | | | | | | nextcloud/fix/caldav/invitation-outlook-compatibilty Fix calendar emails to be outlook compatible
| * Fix calendar emails to be outlook compatibleAnna Larch2023-02-211-0/+16
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-11/+10
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate to Symfony MailerCôme Chilliet2023-02-023-172/+224
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use the default primary color instead of "randomly" the color of the user ↵Joas Schilling2023-01-301-3/+3
| | | | | | triggering the email Signed-off-by: Joas Schilling <coding@schilljs.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | 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>
* Move findBinaryFinder and isFunctionEnabled away from OC_HelperCarl Schwan2022-08-231-11/+7
| | | | | | | | | | | | findBinaryFinder is now a service that is still private but with some minor optimization (remove the hasKey check). isFunctionEnabled is now in OCP\Util Both function are still keep but all internal usage in nextcloud/server were migrated to the new usage, so that we can remove it in 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Extend email loggingJoas Schilling2022-06-281-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use {$var} instead of ${var} for PHP 8.2 compatibilityCôme Chilliet2022-06-141-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate from ILogger to LoggerInterface in lib/privateCôme Chilliet2022-03-241-12/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Increase email main buttons width for non-english languagesacsfer2022-01-131-2/+2
| | | Like "Set your password" (en) vs "Créer votre mot de passe" (fr)
* Check style updateCarl Schwan2022-01-131-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* fix parameter type hint in phpdocArthur Schiwon2021-09-091-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* mail-template - don't show hyphen if slogan is emptyszaimen2021-06-221-1/+5
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Merge pull request #27306 from ↵Christoph Wurst2021-06-081-1/+10
|\ | | | | | | | | nextcloud/enh/noid/set-local-domain-for-swiftmailer Set local domain for swiftmailer
| * Set local domain for swiftmailer transportDaniel Kesselberg2021-05-311-1/+10
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-044-6/+2
|/ | | | 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-182-3/+3
| | | | | | | | | | 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>
* Micro-optimize validation of empty email addressesChristoph Wurst2021-02-111-0/+4
| | | | | | Then we don't have to construct any validators. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix vsprint parameterRoeland Jago Douma2020-12-031-1/+1
| | | | | | | %2\$; is not valid. On php7 this is just ignored but on php8 it gives an error. %2\$s; works. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix #23357medcloud2020-11-181-2/+2
| | | | Signed-off-by: medcloud <42641918+medcloud@users.noreply.github.com>
* Merge pull request #22373 from nextcloud/fix-example-usage-for-mailerJohn Molakvoæ2020-10-311-3/+3
|\ | | | | Fix example usage
| * Fix example usagekevin1471472020-08-231-3/+3
| |
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-051-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>