aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/oxfordshire/send-rdi-emails3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/oxfordshire/send-rdi-emails b/bin/oxfordshire/send-rdi-emails
index ab58ff525..801c1a889 100755
--- a/bin/oxfordshire/send-rdi-emails
+++ b/bin/oxfordshire/send-rdi-emails
@@ -45,10 +45,11 @@ foreach my $inspector (@inspectors) {
my $hdrs = {
To => join('', 'fms', '_', 'admin', '@', $cobrand->admin_user_domain),
_attachments_ => [ {
- body => $rdi->construct,
+ body_str => $rdi->construct,
attributes => {
filename => $rdi->filename,
charset => 'utf-8',
+ encoding => 'quoted-printable',
content_type => 'text/csv',
name => $rdi->filename,
}