Commit Graph

99 Commits

Author SHA1 Message Date
dd2df429ef Add List-Unsubscribe header to emails [MAILPOET-793]
Amazon SES supports custom headers only via 'SendRawEmail' action
MailPoet Sending Service doesn't support custom headers yet
2017-01-26 15:38:23 +03:00
b8c56623a6 Update unit tests [MAILPOET-774] 2017-01-09 10:55:36 +03:00
c651a8bbe8 - Implements return path for SMTP/PHPMail/AmazonSES 2016-12-23 11:09:10 -05:00
eb3f872dc6 - Updates mailer unit test 2016-11-30 12:39:27 -05:00
9e4762cbd7 - Updates mailer methods unit tests 2016-11-30 10:59:34 -05:00
08ec4e83c8 - Adds method to clear previous errors
- Updates unit tests
- Rebases master
2016-11-28 12:20:13 -05:00
89545ba104 - Adds unit tests 2016-11-28 09:50:32 -05:00
5d12de8ec0 - Removes unused mailing methods 2016-11-28 09:47:07 -05:00
a9e02f745f - Encodes non-ASCII from/reply-to/to addresses as per RFC 2047 2016-11-28 08:56:14 -05:00
1926b7ba29 - urlencodes POST data and fixes the "unable to determine service/operation
name to be authorized" error
2016-11-24 17:20:54 -05:00
8c28dc3d8a - Restricts Amazon SES region to a specific list of hosts
- Updates unit tests
- Closes #647
2016-10-16 12:19:47 -04:00
2e4c5ca39a - Updates Mailer Log class and adds unit tests 2016-09-21 19:53:26 -04:00
f88dabffe8 - Updates cron's sending queue worker to use model objects
- Adds new method to render newsletter to the newsletter model
- Adds new transient object to newsletter model that will hold temporary
  values (i.e., rendered body) when working with the model
2016-09-18 23:14:17 -04:00
a5300624c2 - Bump up release version to 0.0.36;
- Fix translation strings in unit tests
2016-07-15 15:59:40 +03:00
9aa25446d1 fixed unit tests 2016-06-15 16:33:48 +02:00
1e9da724ea - Updates exception test logic 2016-06-02 12:33:58 -04:00
645d4e15ab - Updates unit test 2016-06-02 11:03:16 -04:00
cad5b242b2 - Increases Mailer unit test coverage to 100% 2016-06-02 10:11:36 -04:00
a9b9e9c631 Updated tests in order to fix WP related issues 2016-03-18 14:30:59 +01:00
ca7322933f - Fixes issue with incorrect transport being used for localhost sending 2016-02-24 11:56:29 -05:00
24cb614adb - Enables conditional bypassing of unit tests 2016-02-04 18:41:18 -05:00
2f42f643ab - Fixes message body construction 2016-01-28 22:29:47 -05:00
f3b9f7be92 - Updates MailPoet mailer to support batch sending
- Fixes message encoding issue
2016-01-28 09:40:57 -05:00
c0f98c9ba6 - Moves credentials from mailer tests to ENV file
- Disables send method by default unless enabled in ENV file
2016-01-27 18:36:38 -05:00
0776e9ad73 - Adds "reply to" option to all mailers
- Replaces WPMail with Swift using local transport (PHP mail)
- Fixes AmazonSES region naming convention
- Updates tests
2016-01-26 19:08:02 -05:00
d0e770e0fc - Removes Mandrill API mailer method 2016-01-26 09:18:48 -05:00
0dbe04c3f8 - Addresses issues identified during code review 2016-01-06 19:19:06 -05:00
f1bf2bb097 - Refactors Mailer class
- Refactors SendingQueue worker class
- Adds Maier router with a send() method + ability to specify sending method
- Updates tests
- Introduces 'stopping' and 'starting' cron states
- Improves cron control mechanism
Closes #276
2016-01-05 10:34:57 -05:00
84ec0de3cd Unit tests + Welcome page
- fixed unit tests
- commented out failing tests that require changes in the code
- added new welcome page
2015-12-11 17:17:59 +01:00
d2e5fb89c2 - Places supervisor/daemon/worker under the new Cron class
- Updates endpoints
- Integrates queue worker with MailPoet mailer
- Fixes script activation check logic
2015-12-02 22:48:15 -05:00
b20d92c9b1 fixed unit tests and added form model unit test 2015-11-06 18:43:56 +01:00
a6c145476e - Adds wp_mail() mailer + tests
- Updates Mailer router + tests
- Updates mailer classes + tests
Closes #174
2015-10-13 15:31:51 -04:00
e370e4b4c8 - Refactors mailer classes and tests
- Updates Newsletter router to send to multiple recipients
2015-10-12 08:08:08 -04:00
864c352384 - Refactors MailPoet mailer class + tests
- Includes MailPoet mailer inside Mailer router
- Adjusts Newsletter router to work with new MailPoet mailer
- Updates tests for all mailers
2015-10-12 08:07:35 -04:00
08822bd745 - Adds SMTP mailer + tests
- Adjusts Mailer router
- Changes sender/recipient email in tests
- Adds SwiftMailer composer dependency
2015-10-12 08:05:43 -04:00
14160f92f3 - Renames Mailer router method responsible for building the mailer
- Updates tests
2015-10-12 08:03:32 -04:00
1d9ef9bd91 - Adds Amazon SES tests
- Refactors all API mailers
- Updates unit tests for all API mailers
- Adds Mailer router + tests
2015-10-12 08:03:31 -04:00
d2bdc922b3 - Adds Mandrill mailer + tests 2015-10-12 08:03:29 -04:00
ce1674da63 - Adds MailGun mailer class + tests
- Updates tests for mailer classes
2015-10-12 08:03:28 -04:00
901544b875 - Added Mandrill mailer class + tests
- Updated other mailer tests
2015-10-12 08:03:28 -04:00
291ff0208a - Adds ElasticEmail and SendGrid mailer classes + tests 2015-10-12 08:03:27 -04:00
dd5402b037 Newsletters can be sent! 2015-08-21 19:34:35 +02:00
59653b0c6c New Bridge class to send messages with our sending service. 2015-08-21 17:12:36 +02:00
b0f7e44a68 #65 fixing MailerCest::itCanGenerateACorrectMessage 2015-08-18 16:35:48 +02:00
7da1cb9f5b #65 fix and test Marco's refactoring 2015-08-18 09:23:35 +02:00
a84501024a Refactor mailer. 2015-08-17 20:20:36 +02:00
ffc180eac8 #65 test the generateMessage method; test with more than one subscribers 2015-08-17 14:08:31 +02:00
f78ab1c44b #65 renamed the generateMessage method; simplify the subscribers property; removed the handle method 2015-08-17 10:33:22 +02:00
32f01272f1 #65 a first Mailer for the Bridge, with a minimal test 2015-08-14 16:29:02 +02:00