Commit Graph

37 Commits

Author SHA1 Message Date
Carsten Brandt
7a1949fe2d improved traceability of errors thrown in toString() methods 2014-01-01 17:11:48 +01:00
Mark
59535d38cf doc fix 2013-12-29 07:13:35 +04:00
Mark
c0316a10dd added mail events before/after send 2013-12-29 06:23:38 +04:00
Alexander Makarov
6ed8d1767c Adjusted logging guide, fixed examples for email target 2013-12-16 10:04:32 +01:00
Qiang Xue
73442fb12a doc fix. 2013-11-30 15:51:20 -05:00
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
Qiang Xue
bd8f74cf12 Refactored MessageInterface::send(). 2013-11-28 09:55:35 -05:00
Panagiotis Moustafellos
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
Carsten Brandt
5b489aaa49 let base mailer store files as .eml instead of .txt
allows opening email for view in mail program directly
2013-11-12 12:45:05 +01:00
Qiang Xue
23573968a6 Changed important log messages to info level 2013-11-11 20:19:25 -05:00
Qiang Xue
8333a14eb5 Added parameters to fileTransportCallback. 2013-11-09 23:02:56 -05:00
Qiang Xue
b965d4eec7 Implemented file transport for mails. 2013-11-09 22:24:27 -05:00
Carsten Brandt
913eb62294 updated phpdoc and fixed generator read/write-only annotation 2013-11-08 12:24:03 +01:00
Qiang Xue
90a5bcc611 Refactored mail. 2013-11-07 22:33:57 -05:00
Qiang Xue
ed0e44d23b minor touch up of swiftmailer. 2013-11-07 13:08:49 -05:00
Paul Klimov
9dbf4d7420 Mailer default view class changed to "yii\web\View". 2013-11-07 17:18:48 +02:00
Paul Klimov
85c26332c5 Doc comments for "MessageInterface" and "MailerInterface" updated. 2013-11-07 17:16:25 +02:00
Paul Klimov
104cfd7cb2 'yii\mail\MessageInterface' methods renamed: 'text' to 'textBody', 'html' to 'htmlBody' 2013-11-07 12:22:24 +02:00
Paul Klimov
1aafa73e15 Render methods removed from 'yii\mail\MessageInterface'.
Method 'yii\mail\MailerInterface::compose()' reworked allowing rendering message body.
2013-11-07 12:18:07 +02:00
Paul Klimov
ad7761f96a Method 'yii\mail\MessageInterface::compose()' renamed to 'yii\mail\MessageInterface::message()'. 2013-11-06 13:27:07 +02:00
Paul Klimov
3d1a625cbb 'yii\mail\MessageInterface' updated:
- 'body()' renamed to 'renderBody()'
- new 'body()' method introduced
2013-11-06 12:48:44 +02:00
Paul Klimov
b0c5981d42 Method names "yii\mail\MessageInterface" simplified. 2013-11-06 12:28:39 +02:00
Klimov Paul
28b032737d Method 'yii\mail\BaseMailer::compose()' updated, allowing composition of the complex methods like 'renderText' and 'body'. 2013-11-05 16:09:24 +02:00
Klimov Paul
45d02d07a0 Method 'yii\mail\MessageInterface::body()' added. 2013-11-05 15:45:27 +02:00
Klimov Paul
87af95f712 'yii\mail\MessageInterface' updated:
- setter methods renamed to have pure name
- method 'createMessage' renamed to 'compose'
2013-11-05 14:57:13 +02:00
Klimov Paul
aab90c5164 'MessageInterface' updated to support 'method chain' call style. 2013-11-04 14:28:19 +02:00
Klimov Paul
ef6fea9610 Unit test 'BaseMessageTest' created 2013-11-04 13:24:22 +02:00
Paul Klimov
368c244768 MessageInterface::render() replaced by MessageInterface::renderHtml() and MessageInterface::renderText() 2013-11-04 11:52:33 +02:00
Paul Klimov
99d8216103 Email message charset setup added. 2013-10-29 16:11:57 +02:00
Paul Klimov
1d0891f0f6 'yii\mail\MessageInterface' methods 'addText()' and 'addHtml()' removed. 2013-10-29 16:04:20 +02:00
Paul Klimov
774c4db860 'yii\mail\MessageInterface' file related methods interface adjusted to use options, embed file methods added. 2013-10-29 14:06:16 +02:00
Paul Klimov
35429fbd44 'yii\mail\ViewResolve' removed.
Interface 'ViewContextInterface' applied to BaseMailer.
2013-10-29 12:34:08 +02:00
Paul Klimov
5bc22a077f Interface 'MailerInterface' extracted.
Method 'MailerInterface::createMessage()' added.
2013-10-29 12:13:26 +02:00
Paul Klimov
73a8e77c3d BaseMailer::defaultMessageConfig published as BaseMailer::messageConfig 2013-10-25 17:03:33 +03:00
Paul Klimov
d33519e3e5 Method 'MessageInterface::__toString()' added 2013-10-25 16:58:30 +03:00
Paul Klimov
4a9d546c79 'MessageInterface::createAttachment()' renamed to 'MessageInterface::attachContentAsFile()' 2013-10-25 16:08:14 +03:00
Paul Klimov
2a326c7d7b 'email' renamed to 'mail'.
'SwiftMailer' recomposed into extension.
2013-10-25 13:15:36 +03:00