History log of /dokuwiki/inc/mail.php (Results 26 – 50 of 70)
Revision Date Author Comments
# 585bf44e 06-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

amend $_SERVER to $INPUT->server


# 9c107bd1 19-Oct-2013 Christopher Smith <chris@jalakai.co.uk>

use preg_replace_callback instead of '/e' flag when encoding quoated printable ('/e' regex flag deprecated in PHP5.5)


# 465e809b 05-Aug-2012 Andreas Gohr <andi@splitbrain.org>

renamed mailfromnon to mailfromnobody, use in subscriptions


# f7cefc02 05-Aug-2012 Andreas Gohr <andi@splitbrain.org>

added mailfromnone internal option FS#2170


# 63703ba5 16-Mar-2012 Andreas Gohr <andi@splitbrain.org>

coding style updates


# 96569d48 26-Jun-2011 Matthias Schulte <post@lupo49.de>

The mail() function shouldn't be executed when no recipients are given.
Empty to, cc or bcc fields could lead to an Internal Server Error:
malformed header from script. Bad header=No recipient addres

The mail() function shouldn't be executed when no recipients are given.
Empty to, cc or bcc fields could lead to an Internal Server Error:
malformed header from script. Bad header=No recipient addresses found...

show more ...


# ddcd5ab6 06-Jun-2011 Kazutaka Miyasaka <kazmiya@gmail.com>

fixed email subject encoding bug ($enc_subj typo)


# 0667123f 11-Feb-2011 Elan Ruusamäe <glen@pld-linux.org>

correctly encode quoted email names


# 7e8e923f 10-Feb-2011 Andreas Gohr <gohr@cosmocode.de>

Use Base64 encoding for long subjects FS#2169

Quoted-Printable specifies a maximum line length and some mail tools
(Apple mail and Thunderbird) take this quite serious and will fail to
decode subjec

Use Base64 encoding for long subjects FS#2169

Quoted-Printable specifies a maximum line length and some mail tools
(Apple mail and Thunderbird) take this quite serious and will fail to
decode subjects encoded with quoted-printable when the subject exceeds
the length limit.

The correct fix would be to wrap the header into multiple lines. But
this seems not to be possible with mails() $subject variable.

This patch switches to Base64 encoding for long subjects.

A general decision if switching completely to Base64 is the best way
to go is still open. (see bugreport)

show more ...


# 1a6a1c04 06-Feb-2011 Andreas Gohr <andi@splitbrain.org>

Revert "use CRLF in quoted printable encoding FS#1755"

This research suggests that, the change does not help, but in fact
breaks previoulsy working setups:
https://bugs.dokuwiki.org/index.php?do=det

Revert "use CRLF in quoted printable encoding FS#1755"

This research suggests that, the change does not help, but in fact
breaks previoulsy working setups:
https://bugs.dokuwiki.org/index.php?do=details&task_id=1755#comment3446

I'm still at loss on how to fix this bug.

This reverts commit 2ae68f97446ff6bae5fbbe463eb00312598be840.

show more ...


# 02700828 18-Dec-2010 Andreas Gohr <andi@splitbrain.org>

Update EmailValidator to r10 and allow local email addresses FS#2118


# 204d9c53 08-Dec-2010 Andreas Gohr <andi@splitbrain.org>

surpress warning in mail setup when hostname can't be determined


# 609c41e4 29-Nov-2010 Elan Ruusamäe <glen@delfi.ee>

Use $USERINFO in mail_setup, as $INFO['userinfo'] is not yet available.

20:51:05 <glen> what is the difference between $INFO['userinfo'] and $USERINFO?
20:52:17 <splitbrain> none really
20:52:33 <gl

Use $USERINFO in mail_setup, as $INFO['userinfo'] is not yet available.

20:51:05 <glen> what is the difference between $INFO['userinfo'] and $USERINFO?
20:52:17 <splitbrain> none really
20:52:33 <glen> yet one works ($USERINFO) and the other doesn't in my setup
20:52:59 <splitbrain> $INFO isn't available everywhere
20:53:27 <splitbrain> or might not have been set yet (if you're fetching an early action hook)
20:53:27 <glen> yeah, mail headers setup failed for me

show more ...


# 5ec3fefc 05-Nov-2010 Andreas Gohr <andi@splitbrain.org>

handle mailfrom replacements in a central place FS#2091


# 2ae68f97 26-Jun-2010 Andreas Gohr <andi@splitbrain.org>

use CRLF in quoted printable encoding FS#1755

Needs testing from:

a) Exchange users - is FS1755 fixed for you?
b) everone else - all okay still?


# 16905344 31-Jan-2010 Andreas Gohr <andi@splitbrain.org>

first attempt to centralize all include loading

Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and

first attempt to centralize all include loading

Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and Plugin stuff isn't handled by the class loader yet.

show more ...


# db959ae3 20-Oct-2009 Andreas Gohr <andi@splitbrain.org>

Coding Standard Cleanup

Ignore-this: 259cb5773c3144c6c706d87298dcf674

darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz


# 4b7f9e70 28-May-2009 Tom N Harris <tnharris@whoopdedo.org>

Change expensive uses of split to the much faster explode.

darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz


# fa8adffe 13-Dec-2008 Andreas Gohr <andi@splitbrain.org>

removed some illogical path setups

darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz


# 6aff471e 13-Oct-2008 Andreas Gohr <andi@splitbrain.org>

reverted the envelope address setting patch

This implementation proved to be troublesome on certain setups. Instead of
breaking possibly a *lot* of working setups to fix a few other systems, we
deci

reverted the envelope address setting patch

This implementation proved to be troublesome on certain setups. Instead of
breaking possibly a *lot* of working setups to fix a few other systems, we
decided to revert to the previous behavior. Users which can't use this
method for sending mails should consider the swiftmail plugin.

darcs-hash:20081013171949-7ad00-83c336824da6e5428b7d8e06aea7e6d8e8a24f58.gz

show more ...


# d530a62a 12-Oct-2008 Andreas Gohr <andi@splitbrain.org>

readded email patterns -> fixes email links broken with yesterdays validator switch

darcs-hash:20081012132714-7ad00-39316b19200fc122bdd4f780235e25a9fea09932.gz


# e8f8d645 11-Oct-2008 Andreas Gohr <andi@splitbrain.org>

use EmailAddressValidator class for email validation FS#1503

darcs-hash:20081011173245-7ad00-578e03ca701fc4443ba91329be6ac1ca9344c7a7.gz


# 2300b3e6 11-Oct-2008 Andreas Gohr <andi@splitbrain.org>

some changes for the recent FS#1419 and FS#1375 fixes

very simple unit test added. Still needs *real world* testing!

darcs-hash:20081011141442-7ad00-13378a7a14f81b0799102f0d53d6db8e1078b3e0.gz


# f2531e7e 11-Oct-2008 Andreas Gohr <andi@splitbrain.org>

pass envelope headers to sendmail on Unix systems FS#1419 FS#1375

This patch will pass the from and to headers to the sendmail binary, when
sending mails. This needs heavy testing.

darcs-hash:20081

pass envelope headers to sendmail on Unix systems FS#1419 FS#1375

This patch will pass the from and to headers to the sendmail binary, when
sending mails. This needs heavy testing.

darcs-hash:20081011122529-7ad00-db97a65eecf29a21a40abe9280b33a76cac58aec.gz

show more ...


# aa84f386 10-Apr-2008 Andreas Gohr <andi@splitbrain.org>

fix parsing of email addresses with uppercase letters FS#1378

darcs-hash:20080410190757-7ad00-5876d4273cd99e64d1adc13e6a7e90e9b85cd673.gz


123