History log of /dokuwiki/inc/Mailer.class.php (Results 1 – 25 of 85)
Revision Date Author Comments
# 6c16a3a9 14-Sep-2023 fiwswe <fiwswe@fwml.de>

Use str_starts_with/str_ends_with


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 90fb952c 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: operator spacing


# 7d34963b 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow line breaks


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# dccd6b2b 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: function call spacing


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# 8c7c53b0 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: class declaration braces


# c1482d1c 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function argument spacing


# 24870174 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to the rest of inc


# 2b58f049 14-Mar-2023 Andreas Gohr <andi@splitbrain.org>

fix trim call in Mailer's name cleaning

The wrong quotes were used, turning what was meant to be a tab char into
a literal t.

fixes #3923


# 0981255e 14-Mar-2023 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3831 from dokuwiki/pr3774

Mail EOL handling


# bfa6d256 14-Mar-2023 Andreas Gohr <andi@splitbrain.org>

Avoid empty To: header. fixes #1422

This sets the To: header to a display name without an address, which
seems to be better supported than an empty group as tried in #1428


# 2b483eba 06-Mar-2023 Andreas Gohr <andi@splitbrain.org>

move mail header constants to define file


# 8fa268b3 26-Jan-2023 Andreas Gohr <andi@splitbrain.org>

fix isset checks in Mailer class

$INFO might be set, but may not contain any user info


# f41f8969 19-Sep-2022 fiwswe <53953985+fiwswe@users.noreply.github.com>

remove obsolete define of MAILHEADER_EOL

But make sure that inc/mail.php where this is defined was included.


# 7c7659d2 30-Aug-2022 Philipp Specht <philipp.specht@gmail.com>

Add Message-ID to all mails

RFC 5322 specifies that all mails SHOULD have a Message-ID field. While
originating SMTP servers MAY (as per RFC 5321) add a missing Message-ID,
this behavior is not mand

Add Message-ID to all mails

RFC 5322 specifies that all mails SHOULD have a Message-ID field. While
originating SMTP servers MAY (as per RFC 5321) add a missing Message-ID,
this behavior is not mandatory.
Multiple mail providers, e.g. Gmail, reject mails without a Message-ID
field, rendering their users unable to receive mails from a Dokuwiki
instance using a standard-conforming mail server.

This commit simply adds a random Message-ID to a mail's headers during
Mailer class initialization. With the current behavior of setHeader(),
overwriting that header happens without additional changes, should
another Message-ID be necessary, warranted or desired.

show more ...


# 3f6872b1 17-May-2020 Myron Turner <turnermm02@shaw.ca>

Checks for PHP mail in install.php and warns if mail used after install (#3056)

* Checks for PHP mail in install.php and warns if mail used after install.

* fixed spacing in instal.php

* Recon

Checks for PHP mail in install.php and warns if mail used after install (#3056)

* Checks for PHP mail in install.php and warns if mail used after install.

* fixed spacing in instal.php

* Reconfigured warning message and code for PHP mail not existing or disabled. Removed the substitute mail function in inc/compatibility.php

* fixed some spacing errors in install.php

* Adds warning to error_log when call is made to unavailable PHP mail function and posts the warning to browser top if current user is admin.

* adds newline at end of compatibility.php and $lang global to Mailer.class.php

* Changes to handling of msg and `return false` as suggested by @phy25

* Removed tab from lilne 719

* removed additional tabs from Mailer.class.php

* Update inc/Mailer.class.php

removes unnecessary object

* Update inc/Mailer.class.php

changed msg styling for msg_managers_only warning for no PHP mail function

* Update inc/Mailer.class.php

* Update inc/Mailer.class.php

show more ...


# 4772cf38 29-Apr-2020 Andreas Gohr <andi@splitbrain.org>

suppress errors messages in Mailer for non-admins #3014

When ever a mail is sent to the current user, it is usually the only
receiver. If in that case the mail validation fails, sending the whole
ma

suppress errors messages in Mailer for non-admins #3014

When ever a mail is sent to the current user, it is usually the only
receiver. If in that case the mail validation fails, sending the whole
mail will fail which will be signalled by a return false of the
Mailer->send() method anyway. This is already signalled to the user.

The more commoin usecase of a validation error is when other people's
addresses fail to validate. These should never be shown to a user.

show more ...


# 10da1f74 29-Apr-2020 Andreas Gohr <andi@splitbrain.org>

more tests and a fix for #3036

Exploding lines left dangling commas for the addresses. In addition the
$text variable was not reset properly later on leading to an additional
error.


# 68491db9 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 5: Trying to access array offset on value of type bool/null


# aac83cd4 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 4: Trying to access array offset on value of type bool/null


# 3e9ae63d 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 3: Trying to access array offset on value of type bool/null


# b47790f9 14-Jul-2019 Andreas Gohr <andi@splitbrain.org>

Merge branch 'utf8refactor' into psr2

* utf8refactor:
replaced deprecated utf8 functions
formatting cleanup
mark old utf8 functions deprecated
Some cleanup for the UTF-8 stuff
Moved all ut

Merge branch 'utf8refactor' into psr2

* utf8refactor:
replaced deprecated utf8 functions
formatting cleanup
mark old utf8 functions deprecated
Some cleanup for the UTF-8 stuff
Moved all utf8 methods to their own namespaced classes
Create separate table files for UTF-8 handling

show more ...


# 2b9c4a05 14-Jul-2019 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into psr2

* master: (34 commits)
fix color for noninstalled extensions
show disabled extensions in gray
warn about inaccessible repo api
bugfix: access check was never

Merge branch 'master' into psr2

* master: (34 commits)
fix color for noninstalled extensions
show disabled extensions in gray
warn about inaccessible repo api
bugfix: access check was never cached
First go on a CLI component for the extension manager
use strict type comparison
translation update
translation update
fix #dokuwiki__sitetools current item not in highlight due to Greebo change
authplain: Add tests for group retrieval
authplain: Add a simple method for retrieving user groups
translation update
Negative string offsets are allowed in PHP 7.1+ only
improve memory check output
fix and test php_to_byte() related to #2756 #2556
translation update
translation update
translation update
translation update
translation update
...

show more ...


1234