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
Jose Lorenzo Rodriguez
000e05b468
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/libs/view/helpers/js.php
cake/tests/lib/templates/missing_conenction.php
cake/tests/lib/templates/missing_connection.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/TestSuite/templates/missing_conenction.php
lib/Cake/View/Helper/FormHelper.php
lib/Cake/tests/Case/Core/ConfigureTest.php
2011-04-11 22:48:08 -04:30
Jose Lorenzo Rodriguez
c83a396eb4
Fixing class loading for HttpResponse classes, and making possible to pass plugin HttpResponse classes too
2011-04-10 16:57:44 -04:30
AD7six
32df3156a7
consolidate cake_error and cake_developer to simply "cake_dev"
...
it's a lot easier for adding new translations to think:
is it for the end user?
use 'cake' as the domain
is it for the developer
use 'cake_dev' as the domain
is it for the console
use 'cake_console' as the domain
also neatly avoids the "this message is an error, and it's in
cake_developer, why?" - question (because cake_error was intended for
anything which is used in trigger_error/exceptions, not a variable named
$error
2011-03-20 16:38:31 +01:00
AD7six
1f6346c58f
using cake_error for error messages
2011-03-19 18:18:14 +01:00
AD7six
29b874e739
translation changes in the Network dir
2011-03-12 20:01:38 +01:00
Jose Lorenzo Rodriguez
f8a08432f4
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-03-05 17:37:31 -04:30
Jose Lorenzo Rodriguez
ba694c45c9
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-27 22:50:53 -04:30
José Lorenzo Rodríguez
688e914381
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
2011-02-22 00:13:57 -04:30
José Lorenzo Rodríguez
0cb08a09dc
Fixing class loading for authentication clasess in HttpSocket, also allowing the use of plugin authentication classes
2011-02-21 23:58:46 -04:30
José Lorenzo Rodríguez
4cebe55a9b
Merge remote-tracking branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
app/webroot/index.php
lib/Cake/Controller/Component/AuthComponent.php
lib/Cake/Network/CakeRequest.php
lib/Cake/tests/cases/libs/controller/components/auth.test.php
2011-02-21 22:28:30 -04:30
José Lorenzo Rodríguez
6e4f4efb79
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
lib/Cake/Console/Command/TestSuiteShell.php
lib/Cake/Console/TaskCollection.php
lib/Cake/Controller/ComponentCollection.php
lib/Cake/Controller/Controller.php
lib/Cake/Core/App.php
lib/Cake/Model/BehaviorCollection.php
lib/Cake/Network/CakeRequest.php
lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
lib/Cake/TestSuite/CakeWebTestCase.php
lib/Cake/TestSuite/TestManager.php
lib/Cake/TestSuite/TestRunner.php
lib/Cake/View/HelperCollection.php
lib/Cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
lib/Cake/tests/cases/libs/test_manager.test.php
2011-02-13 23:10:19 -04:30
José Lorenzo Rodríguez
4c0e06c451
Merge remote branch 'origin/2.0' into 2.0-class-loading
...
Conflicts:
cake/bootstrap.php
cake/libs/view/helpers/js.php
lib/Cake/Model/AclNode.php
lib/Cake/Model/ConnectionManager.php
lib/Cake/bootstrap.php
lib/Cake/tests/cases/libs/controller/controller.test.php
2011-01-02 02:00:03 -04:30