Commit graph

10285 commits

Author SHA1 Message Date
Juan Basso
5815743e0a Removed formatMessage and render methods. 2011-04-17 18:41:39 -04:00
Juan Basso
163c7f06bb Removed boundary methods. 2011-04-17 18:41:38 -04:00
Juan Basso
46c79ec4a1 Removing headers methods. 2011-04-17 18:41:36 -04:00
Juan Basso
5e56f76510 Rewrited the send method to use CakeEmail. 2011-04-17 18:41:34 -04:00
Juan Basso
3b896a82ef Revert "Removing the methods from Email component. Tests commentds until adjust the code to BC."
This reverts commit 00016c515d.
2011-04-17 18:41:33 -04:00
Juan Basso
ff5365d6ab Added support to return the html and text message. 2011-04-17 18:39:02 -04:00
Juan Basso
33ca64f505 Added support to set variables to be used in the render. 2011-04-17 18:38:25 -04:00
Juan Basso
d5938dd3c4 Support to multibyte in subject. 2011-04-17 18:38:02 -04:00
Juan Basso
c48db36196 Changed to be able to configure empty array in CakeEmail. 2011-04-17 18:37:31 -04:00
Juan Basso
c5f289fccf More tests to CakeEmail. 2011-04-17 18:36:49 -04:00
Juan Basso
5b223e747b Adjusted the Smtp test to use the new config method. 2011-04-17 18:36:42 -04:00
Juan Basso
3a5c04273e With class loading these code can be global. 2011-04-17 18:36:36 -04:00
Juan Basso
9ac5f9c349 Fixed the tests. 2011-04-13 00:24:27 -04:00
Juan Basso
3200e380d3 Created a new method to return the transport class before send. In some cases you need to do extra calls/configurations before send. 2011-04-13 00:04:37 -04:00
Juan Basso
f4f3bfe2fc Return the object when is set method. 2011-04-12 23:45:02 -04:00
Juan Basso
40e8632408 Changed to translate messages using cake domain. 2011-04-12 23:37:50 -04:00
Juan Basso
935badff03 Fixed to MailTransport use configs intead Configure::read(). 2011-04-12 23:34:23 -04:00
Juan Basso
a9aef5600f Removed the object from ClassRegistry. It is not used in 2.0. 2011-04-12 23:32:26 -04:00
Juan Basso
3c703641b0 Changed the use of import to uses. 2011-04-12 23:31:07 -04:00
Juan Basso
50c21ccdfe Renamed the transport files to the new structure. 2011-04-12 22:34:45 -04:00
Juan Basso
00016c515d Removing the methods from Email component. Tests commentds until adjust the code to BC. 2011-04-12 22:25:24 -04:00
Juan Basso
fd248acadd Added the config to reset. 2011-04-12 22:17:36 -04:00
Juan Basso
22445e2583 Removed the read from Configure for X-Mailer. 2011-04-12 22:17:33 -04:00
Juan Basso
554d32e76d Using the config from CakeEmail instead try to read from Configure class in email transports. 2011-04-12 22:17:30 -04:00
Juan Basso
daa90ed2b2 Created the email class and a logic in CakeEmail. 2011-04-12 22:17:28 -04:00
Juan Basso
5f54946cf8 Test to smtp disconnect. 2011-04-12 22:17:25 -04:00
Juan Basso
5018953407 Tests to smtp send data. Fixed the method to transform headers in string to not put in the string empty values. 2011-04-12 22:17:23 -04:00
Juan Basso
56a3ecf6a6 Test to smtp send rcpt. 2011-04-12 22:17:21 -04:00
Juan Basso
e280a7cc5d Changed the method names in transport to new form. 2011-04-12 22:17:19 -04:00
Juan Basso
174fae7d53 Tests to smtp auth. 2011-04-12 22:17:17 -04:00
Juan Basso
9296783300 Tests for smtp connect. 2011-04-12 22:17:16 -04:00
Juan Basso
5740d12b74 Fixed wrong attribute name. 2011-04-12 22:17:14 -04:00
Juan Basso
1814168ec7 Added kind of visibility to missed methods. 2011-04-12 22:17:12 -04:00
Juan Basso
90d1f62131 Changed others functions to remove the get/set by only one method. 2011-04-12 22:17:09 -04:00
Juan Basso
6e97de5d38 Replace the get/set methods by only one method in addresses and subject. 2011-04-12 22:17:06 -04:00
Juan Basso
f661e37ef1 Added more tests to wrap. Fixed to not cut words with more than should limit. 2011-04-12 22:17:03 -04:00
Juan Basso
985743dc50 Removed debug code line. 2011-04-12 22:16:59 -04:00
Juan Basso
f128711fa5 Test to all getters and setters of addresses. 2011-04-12 22:16:56 -04:00
Juan Basso
6e15945e73 Fixes in render. Tests added. 2011-04-12 22:16:53 -04:00
Juan Basso
d0f1843dd5 Added tests to send email with contents. 2011-04-12 22:16:49 -04:00
Juan Basso
ffaee3d760 Included the method to attach files. 2011-04-12 22:16:46 -04:00
Juan Basso
df2fe579cd Supporting pass the attach file name. 2011-04-12 22:16:43 -04:00
Juan Basso
8645411c65 Removed unused attribute. 2011-04-12 22:16:40 -04:00
Juan Basso
e6befef1c3 Added the method to render from views. 2011-04-12 22:16:37 -04:00
Juan Basso
c5cbb603a0 Added the methods to format message. 2011-04-12 22:16:34 -04:00
Juan Basso
3a1ebf159a Striping tags in the message. 2011-04-12 22:16:30 -04:00
Juan Basso
2795d2b771 Initial changes for send. 2011-04-12 22:16:27 -04:00
Juan Basso
89b4cb75e3 Changed to addresses come before others headers. It is not a RFC rule, just to keep more readable the header. 2011-04-12 22:16:24 -04:00
Juan Basso
ace425892d Implemented method to set/get Message-ID. 2011-04-12 22:16:20 -04:00
Juan Basso
30dced741d Simply the code. 2011-04-12 22:16:17 -04:00