Commit graph

367 commits

Author SHA1 Message Date
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
daa90ed2b2 Created the email class and a logic in CakeEmail. 2011-04-12 22:17:28 -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
Juan Basso
03b4ce070b Added a protection to not insert invalid emails. 2011-04-12 22:16:14 -04:00
Juan Basso
6a76931961 Added support to multibyte in formatAddress. Tests added. 2011-04-12 22:16:11 -04:00
Juan Basso
b29c31709e Implemented methods to attachments. 2011-04-12 22:16:06 -04:00
Juan Basso
6c3a42c82a Method to set transport name. 2011-04-12 22:16:03 -04:00
Juan Basso
1a457dc575 Method to set email format (text, html, both). 2011-04-12 22:16:00 -04:00
Juan Basso
35106be647 Removed the configuration to EOL. Moved to MailTransport. 2011-04-12 22:15:56 -04:00
Juan Basso
bd5e5376d1 Implemented method to set layout and template. 2011-04-12 22:15:53 -04:00
Juan Basso
6930ba6207 Changes to in manipulation of header. 2011-04-12 22:15:48 -04:00
Juan Basso
e6c8171d1f Added some vars to reset. 2011-04-12 22:15:45 -04:00
Juan Basso
82835a3566 Methods to set/get subject. 2011-04-12 22:15:41 -04:00
Juan Basso
187304cebb Added methods to ReturnPath, ReadReceipt and ReplyTo. 2011-04-12 22:15:37 -04:00
Juan Basso
162da0aec9 Added tests with array in setFrom. 2011-04-12 22:15:33 -04:00
Juan Basso
a28e0f014d setFrom using _setEmail. DRY and consistence. 2011-04-12 22:15:27 -04:00
Juan Basso
7aa0d6c1eb Added the methods to set/add/get Cc and Bcc. 2011-04-12 22:15:24 -04:00