diff --git a/images/ckan/2.9/patches/04_patch_smtp_aws_recipient_name.patch b/images/ckan/2.9/patches/04_patch_smtp_aws_recipient_name.patch new file mode 100644 index 0000000..7d51bf1 --- /dev/null +++ b/images/ckan/2.9/patches/04_patch_smtp_aws_recipient_name.patch @@ -0,0 +1,11 @@ +--- a/ckan/lib/mailer.py ++++ b/ckan/lib/mailer.py +@@ -121,7 +121,7 @@ def mail_recipient(recipient_name, recipient_email, subject, + '''Sends an email''' + site_title = config.get('ckan.site_title') + site_url = config.get('ckan.site_url') +- return _mail_recipient(recipient_name, recipient_email, ++ return _mail_recipient("", recipient_email, + site_title, site_url, subject, body, + body_html=body_html, headers=headers) +