diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-14 18:56:16 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-14 19:03:40 +0000 |
commit | bc0cc811e80143d0255d86433a80a823d1141dd0 (patch) | |
tree | 0c5005b2b03e540d8ab562da06539414709fbc18 /lib/tasks/translation.rake | |
parent | 6fa9c17c7cd5551489a77f6e89543b7886be51d4 (diff) | |
parent | 2c5749d4d92e6601856cef6f7e2201d06d885183 (diff) |
Diffstat (limited to 'lib/tasks/translation.rake')
-rw-r--r-- | lib/tasks/translation.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/translation.rake b/lib/tasks/translation.rake index 273c12bfa..ff07fc6f6 100644 --- a/lib/tasks/translation.rake +++ b/lib/tasks/translation.rake @@ -4,7 +4,7 @@ namespace :translation do include Usage def write_email(email, email_description, output_file) - mail_object = MailHandler.mail_from_raw_email(email.to_s, decode=false) + mail_object = MailHandler.mail_from_raw_email(email.to_s) output_file.write("\n") output_file.write("Description of email: #{email_description}\n") output_file.write("Subject line: #{mail_object.subject}\n") @@ -49,7 +49,7 @@ namespace :translation do write_email(followup_email, 'Follow up', output_file) # contact mailer - contact_email = ContactMailer.create_message(info_request.user_name, + contact_email = ContactMailer.create_to_admin_message(info_request.user_name, info_request.user.email, 'A test message', 'Hello!', @@ -86,7 +86,7 @@ namespace :translation do 'fixtures', 'files', 'incoming-request-plain.email')) - response_mail = MailHandler.mail_from_raw_email(content, decode=false) + response_mail = MailHandler.mail_from_raw_email(content) response_mail.from = "authority@example.com" stopped_responses_email = RequestMailer.create_stopped_responses(info_request, |