summaryrefslogtreecommitdiff
path: root/it_mail.class
AgeCommit message (Collapse)AuthorFilesLines
2024-06-10http: -> https:Urban Müller1-1/+1
2024-03-21allow unicode in local part of mail addressesUrban Müller1-1/+1
2022-07-29remove legacy functionDavid Flatz1-10/+0
2022-07-29rename _escape functions to _encodeDavid Flatz1-15/+25
2022-07-29improve validation and escaping of e-mail addresses: use same method for ↵David Flatz1-31/+119
validation in check_email and address_error; encode and validate IDNs; make (more) robust functions to split address lists and emails
2022-03-28handle missing closing bracket, remove blanks around email (filter_var balks)Urban Müller1-1/+1
2022-03-28user filter_var instead of regex (thx chrigi), correctly ignore display namesUrban Müller1-11/+11
2022-03-15correctly escape commasUrban Müller1-1/+1
2022-03-15correctly escape commasUrban Müller1-5/+14
2022-03-14accept naked unix user names as recipientsUrban Müller1-4/+4
2022-03-11format check for email addresses on sendingUrban Müller1-3/+14
2021-02-09Mark static function as suchChristian Schneider1-1/+1
2021-01-13Update copyright dateChristian Schneider1-1/+1
2021-01-13Unified join to always use implodeChristian Schneider1-4/+4
2021-01-13Unified comment styleChristian Schneider1-1/+0
2020-07-21Mark static function it:mail::check_email() as staticChristian Schneider1-1/+1
2020-05-06Use random_bytes() instead of uniqid() now that we require PHP 7.0 for itoolsChristian Schneider1-4/+4
2019-10-28escape attachment name since that string is user-provided and might contain ↵David Flatz1-1/+2
non-ascii characters
2019-09-02Make itools a bit stricter, new PHP versions start to enforce more declarationsChristian Schneider1-2/+2
2019-03-05try to restore our reputationUrban Müller1-1/+1
2019-02-12Migrate old style constructors to __construct, temporary transition ↵Christian Schneider1-1/+1
functions for it_dbi (map, mapgen) and it_user (ad, login_user)
2018-06-27reapply "use safer it:: variants of file funcs", was not the culprit in ↵Urban Müller1-1/+1
jussi downtimes This reverts commit 99b7fc8dc08da090bb7f00c2882e1daeec4434ba.
2018-06-22Revert "use safer it:: variants of file funcs"Urban Müller1-1/+1
This reverts commit 05e7ceefa1f0a29c665381b54ac882f260ae6c22.
2018-06-21use safer it:: variants of file funcsUrban Müller1-1/+1
2017-11-29Filter out invalid empty MX records (e.g. for bluwin.ch)Christian Schneider1-1/+1
2016-12-08Make static/object context check PHP 7.1 compatibleChristian Schneider1-1/+1
2016-10-19fix phan warningsUrban Müller1-1/+1
2016-02-15if encoding fails (because of broken utf8), use latin1 as input charset; ↵David Flatz1-1/+3
even though its ugly it's still better than empty subjects
2016-02-08encode header with base64 when quoted-printable fails because of php bug #53891David Flatz1-1/+6
2016-02-05use php function to escape headers; don't swallow double quotes when ↵David Flatz1-4/+4
escaping, this should fix bounces when realname contains umlauts and komma; be a little pedantic about whitespace in addrlist
2016-02-03don't split addrlist at comma when the comma is inside a quoted string, this ↵David Flatz1-2/+13
should fix mails to people with umlauts and comma in realname
2014-04-28introduce new function addrlist_escape that uses header_escape to only ↵David Flatz1-26/+25
escape realname part of address lists
2014-04-28fix escaping of addrlists, don't escape email addressDavid Flatz1-10/+20
2014-03-27strip quotes when utf8-encoding the fullname part of an e-mail addressChristian A. Weber1-1/+1
2013-11-01Remove $Id$Christian Schneider1-2/+0
2012-10-31fix Reply-To header encodingChristian Weber1-1/+1
2012-03-22use PHP's default_charset instead of hard-coded iso-8859-1Christian Weber1-2/+6
2012-02-13Replace preg_replace /e modifier with preg_replace_callback: Modified ↵Christian Schneider1-1/+1
planned to be removed. ITools now requires PHP 5.3 or newer
2011-12-08fix initialisation of $p in add_attachment(), change add_file() in the same ↵Christian Weber1-15/+8
way as add_attachment() and simplify code
2011-12-08add_attachment() re-factored to take $p as 2nd arg, add support for ↵Christian Weber1-11/+17
specifying content disposition
2011-11-22support sending of mails on twin/develUrban Müller1-2/+3
2011-08-25more info in subject (in case sending of error mail fails, too)Urban Müller1-1/+1
2011-08-25catch failed mail deliveriesUrban Müller1-2/+6
2011-08-01use correct charset for headers, don't hardcode iso-8859-1Christian Weber1-1/+1
2010-11-23Use ULTRAHOSTNAME or hostname command to find domain name for check_email()Christian Schneider1-1/+1
2010-11-23Made mailcheck output its progress with 'mailcheck' debug parameterChristian Schneider1-1/+1
2009-04-22Get rid of ereg/split, replaced by preg equivalentsChristian Schneider1-5/+5
2009-03-17forcmail debug paramUrban Müller1-1/+1
2009-02-18fix debug output in send() on non-live machinesChristian Weber1-3/+4
2009-02-17send no mails from devel/twin, treat missing severtype.cfg as liveUrban Müller1-1/+2