Commit graph

43 commits

Author SHA1 Message Date
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
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
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
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
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
Juan Basso
fae641e619 Implemented methods to configure "to". 2011-04-12 22:15:21 -04:00
Juan Basso
5cb58e8f99 Implemented methods to configure "from". 2011-04-12 22:15:18 -04:00
Juan Basso
8f5049e3b1 Initial changes in headers, just draft. 2011-04-12 22:15:15 -04:00
Juan Basso
a92092231c Throwing exception when headers is not an array. 2011-04-12 22:15:11 -04:00
Juan Basso
77941fb1fb Added the skeleton of CakeEmail. 2011-04-12 22:15:08 -04:00