21 Commits

Author SHA1 Message Date
791d8124ad added test 2013-12-29 06:23:52 +04:00
b965d4eec7 Implemented file transport for mails. 2013-11-09 22:24:27 -05:00
9763086842 Fixed test break 2013-11-07 22:57:49 -05:00
90a5bcc611 Refactored mail. 2013-11-07 22:33:57 -05:00
104cfd7cb2 'yii\mail\MessageInterface' methods renamed: 'text' to 'textBody', 'html' to 'htmlBody' 2013-11-07 12:22:24 +02:00
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
ad7761f96a Method 'yii\mail\MessageInterface::compose()' renamed to 'yii\mail\MessageInterface::message()'. 2013-11-06 13:27:07 +02:00
b0c5981d42 Method names "yii\mail\MessageInterface" simplified. 2013-11-06 12:28:39 +02:00
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
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
ef6fea9610 Unit test 'BaseMessageTest' created 2013-11-04 13:24:22 +02:00
368c244768 MessageInterface::render() replaced by MessageInterface::renderHtml() and MessageInterface::renderText() 2013-11-04 11:52:33 +02:00
99d8216103 Email message charset setup added. 2013-10-29 16:11:57 +02:00
1d0891f0f6 'yii\mail\MessageInterface' methods 'addText()' and 'addHtml()' removed. 2013-10-29 16:04:20 +02:00
774c4db860 'yii\mail\MessageInterface' file related methods interface adjusted to use options, embed file methods added. 2013-10-29 14:06:16 +02:00
35429fbd44 'yii\mail\ViewResolve' removed.
Interface 'ViewContextInterface' applied to BaseMailer.
2013-10-29 12:34:08 +02:00
5bc22a077f Interface 'MailerInterface' extracted.
Method 'MailerInterface::createMessage()' added.
2013-10-29 12:13:26 +02:00
73a8e77c3d BaseMailer::defaultMessageConfig published as BaseMailer::messageConfig 2013-10-25 17:03:33 +03:00
d33519e3e5 Method 'MessageInterface::__toString()' added 2013-10-25 16:58:30 +03:00
4a9d546c79 'MessageInterface::createAttachment()' renamed to 'MessageInterface::attachContentAsFile()' 2013-10-25 16:08:14 +03:00
2a326c7d7b 'email' renamed to 'mail'.
'SwiftMailer' recomposed into extension.
2013-10-25 13:15:36 +03:00