Jordi Boggiano
06143b03e5
Add a bunch of return types and fix type inconsistencies reports from phan
2018-07-04 14:14:08 +02:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
8a45ed75cc
Auto-detecting of mime type for emails and switched to HtmlFormatter for emails by default, fixes #577
2016-05-26 22:41:41 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Jordi Boggiano
a754edc64c
Add ability to use formatter in email subject lines
2016-04-12 18:31:25 +01:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
Elan Ruusamäe
745100db42
Update NativeMailerHandler.php
...
don't calculate parameters in a loop
2015-11-09 11:08:56 +02:00
Pascal Borreli
a2c6c37c8d
Fixed typos
2015-03-05 01:11:15 +00:00
Jordi Boggiano
4b6c798f9c
Merge pull request #522 from elyobo/consistent-fluent-return-values
...
Return self from NativeMailerHandler::addHeader().
2015-03-04 17:56:10 +00:00
Liam O'Boyle
c373cfbc30
Allow passing additional parameters to PHP's mail().
...
PHP's mail() function accepts an optional additional_parameters argument
which can be used to provide additional information, such as setting the
envelope sender, for some MTAs. This patch allows the
NativeMailerHandler to pass these through.
2015-03-03 11:55:04 +11:00
Liam O'Boyle
42ea303cfe
Return self from NativeMailerHandler::addHeader().
...
NativeMailerHandler::setContentType() and NativeMailerHandler::setEncoding()
both return the NativeMailerHandler object, allowing a fluent coding
style. This fix adds the same behaviour to NativeMailerHandler::addHeader()
for so that all public non-inherited methods behave this way for
consistency.
2015-03-03 11:50:22 +11:00
Christophe Coevoet
0da47a8d93
Fix the exception message
2015-01-07 09:45:12 +01:00
Jordi Boggiano
515a096c86
Prevent header injection through content type / encoding in NativeMailerHandler, fixes #458 , closes #448
2014-12-28 14:32:10 +00:00
Menno Holtkamp
b816cef167
Updated PHPDoc, $to property is an array
2014-07-30 23:24:09 +02:00
Jordi Boggiano
392ef35fd4
CS fixes
2014-03-23 20:50:26 +01:00
Jordi Boggiano
65109e6df4
Prevent empty headers from having a leading \r\n
2014-03-08 17:37:06 +01:00
Mark Garrett
f7bb2cd820
Correct spacing
2014-03-07 08:24:30 -06:00
Mark Garrett
e490186a7c
Allow for different Content-type and character encodings; Insert a MIME-Version header for HTML emails if there isn't one already; More documentation;
2014-03-04 11:34:35 -06:00
Jordi Boggiano
7a8844d4db
Fix CS and add chainability to a few more setter methods, refs #221
2013-08-09 14:12:38 +02:00
Julio Montoya
7717c4f1df
Adding a new maxColumnWidth property see #217
2013-08-09 13:40:03 +02:00
Jordi Boggiano
458daf3040
Adjust exception message
2013-02-13 17:08:18 +01:00
Markus Staab
6c888417b6
sanitize http headers in NativeMailerHandler to prevent injections. added tests.
2013-02-13 16:19:47 +01:00
Prajwal Tuladhar
01790263f4
apply wordwrap and implode before doing iteration
2013-02-02 15:50:01 -05:00
Pascal Borreli
22803f1f2d
Fixed PHPDoc
2012-09-17 21:54:25 +00:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +02:00
Jiří Petřek
ac69638824
text-plain => text/plain
2012-05-07 19:31:59 +02:00
Jiří Petřek
5ac0d070b7
Typos
2012-05-07 18:25:13 +02:00
Jiří Petřek
93f814d721
Typos
2012-05-07 18:20:39 +02:00
Jiří Petřek
50a48feba3
NativMailerHandler: can be specified more recipients and custom headers
2012-05-07 17:38:05 +02:00
Jordi Boggiano
5c97153efe
Add array of records to MailHandler::send to allow analysis of individual records before sending email
2012-04-22 18:25:25 +02:00
Jordi Boggiano
6a2d207f98
Bubbling defaults to true
2011-06-10 16:03:47 +02:00
Christophe Coevoet
c33eb7b032
Added a NativeMailerHandler using the PHP mail() function
2011-05-08 16:11:54 +02:00