Commit Graph

51 Commits

Author SHA1 Message Date
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Brian Pandola
7147c5f05a
SES domains are case-insensitive (#4050) 2021-07-02 05:28:41 +01:00
usmangani1
31cf3c4252
Fix:SES-Added params check in template (#3753)
* Fix:SES-Added params check in template

* Added more tests and handled message

* linting

* fixed tests

* fix attribute name in message

* fix logic for exception
2021-05-18 07:51:27 +01:00
Andrés Álvarez
a5fc99c9af
Raise TemplateDoesNotExist if template does not exist (#3784)
* Raise TemplateDoesNotExist if template does not exist

When sending templated emails

* Remove unnecessary 'when called with' in test
2021-03-19 15:36:53 +00:00
Cristopher Pinzón
c72670d536
Functionality added to SES service (#3670)
* correct exceptions when mising parameters

* test_render_template function

* update ses template function

* fix import

* except fixed

* tests and py2 fix
2021-02-11 18:31:17 +00:00
Julien Roy
fd51da8cae
Fix response parsing error on Java SDK v2 for CW GetMetricData (#3645) (#3675)
Co-authored-by: Julien Roy <julien@bankin.com>
2021-02-11 15:04:59 +00:00
usmangani1
ffa7f2e41a
Fix:SES:Get Template Html part (#3504)
* SES:Get Template Html part

* Linting

* Linting

Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-12-03 07:42:19 +00:00
Kamil Mańkowski
47a227921d
SES: Fix sending email when use verify_email_address (#3242) 2020-08-25 13:51:58 +01:00
Kamil Mańkowski
8a551a9754
[SNS] Mock sending directly SMS (#3253)
* [SNS] Mock sending directly SMS

Proper behaviour when publishing to PhoneNumber is sending
message directly to this number, without any topic or
previous confirmation.

https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-phone-number-as-subscriber.html

* Fix arguments order

* Omit checking local backend when tests in server mode
2020-08-25 13:05:49 +01:00
usmangani1
dcde2570b1
Enhancement : SES - Added create-receipt-rule-set, create-receipt-rul… (#3059)
* Enhancement : SES - Added create-receipt-rule-set, create-receipt-rule functionalities.

* Linting

Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-06-10 10:23:43 +01:00
Steve Pulec
0f56539ef9
Merge pull request #2972 from bblommers/ses_validate_raw_email
SES - Validate domain before sending raw email
2020-05-14 17:52:50 -05:00
usmangani1
8d3d43da90
Enhancement Adding SES Functionalities CreateTemplate,GetTemplate,Lis… (#2987)
* Enhancement Adding SES Functionalities CreateTemplate,GetTemplate,ListTemplates

* Linting

Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-05-13 12:29:34 +01:00
Bert Blommers
691e206854 SES - Validate domain before send_raw_email 2020-05-07 09:49:37 +01:00
usmankb
2b0e7da998 SES get send statistics response modification 2020-05-06 20:28:50 +05:30
Bert Blommers
353bc08ac2 Linting 2020-05-04 09:24:46 +01:00
usmankb
440213f854 Enhancement Adding SES get_send_statistics,create_configuration_set functions 2020-05-01 21:16:33 +05:30
Bert Blommers
f0cab68208 #2264 - SES - Ensure verify_email_address works with display names 2020-03-18 11:46:44 +00:00
Jay Udey
4f0c06ca53 handle map or list parameters 2020-02-04 14:04:45 -06:00
Fabio Dias
743dd46399 black linting 2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5 ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override 2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630 Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id 2019-12-16 19:56:11 -05:00
Asher Foa
3bb31c84fd Fix some typos 2019-11-16 12:31:45 -08:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Kyle Jones
1d5140e11d Implementing send_templated_email 2019-10-02 08:39:35 +01:00
Adrian Galera
016dec6435 Cleanup prints 2019-01-11 13:45:34 +01:00
Adrian Galera
53f8feca55 apply linter changes 2019-01-11 13:35:18 +01:00
Adrian Galera
75812eb838 Enable SES feedback via SNS 2019-01-11 13:22:33 +01:00
Robert C Jensen
7d78a08f95 bugfix: support name-addr mailbox form 2018-07-26 21:08:31 -04:00
Robert C Jensen
f50c6c2fb0 feature: add parameters back to Message models 2018-07-17 20:12:05 -04:00
Ben Jolitz
d21c387eb6 Support optional Source, parse from header
The Email ``from`` header is either formatted as ``name <address>`` or ``address``.

This commit will use `parseaddr` to extract a ``(name, address)`` tuple, which we will use the ``address`` to check if it's verified.

Also support the case where ``Source`` is omitted (which AWS requires the ``from`` header to be set).
2018-05-04 18:58:52 -07:00
fdfk
2a65f40a19 Adding list_verified_email_addresses and testing 2017-07-11 08:02:31 +00:00
Steve Pulec
6d422d1f37 Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981 Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Ned Jackson Lovely
93aed94bc7 Add sent_messages back to SESBackend 2016-05-05 23:01:24 -04:00
Jonathan Stewmon
fb06c6517e update SES backend to support domain identities and multiple recipients
includes test cases for ses client with boto3
2016-03-09 10:18:50 -06:00
Jeffrey Gelens
c2f2c16892 Fixed non threadsafe code 2015-03-16 13:13:40 +01:00
dreadpirateshawn
9affa7753d Performance: Leverage jinja2's Environment to cache compiled Templates. 2014-12-12 12:46:07 -08:00
David Baumgold
eedb4c4b73 Support Python 3 using six 2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
Steve Pulec
d8ca75deaa Merge pull request #48 from spulec/py26
Now supporting Python 2.6 as long as we're using the very latest HTTPretty
2013-10-03 17:43:37 -07:00
Steve Pulec
3bddbb4af3 Test out py26 with new HTTPretty 2013-10-03 20:34:13 -04:00
Marcus Ahle
611b820e3d Adding HTML support for SES send_email() 2013-09-25 13:51:49 -04:00
Steve Pulec
8fe0c91853 Fix services to work better with other regions. Closes #17. 2013-04-13 18:22:26 -04:00
Steve Pulec
e993917d4c pep8 2013-03-05 08:35:18 -05:00
Steve Pulec
a728b2581a Adding server mode 2013-03-05 08:14:43 -05:00
Steve Pulec
51c5f66aac change all mocking to include http and https 2013-02-27 01:15:26 -05:00
Steve Pulec
d32059f301 pep8 2013-02-26 00:31:01 -05:00
Steve Pulec
bcbec29653 start pep8 cleanup 2013-02-26 00:12:34 -05:00