diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-14 16:48:08 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-14 16:48:08 +0000 |
commit | d48bfd58f6ff26b2a34aa8d71d9d691f9fbc10e2 (patch) | |
tree | c026e8e6639f7f9ceed92b75fb8ed657c566d788 /lib/tasks/translation.rake | |
parent | f8cf582f8c7461bfd680aac9c87cb5377c39c30c (diff) | |
parent | 0747a2d66f65fd22d8ea275d9df29a7981a46d07 (diff) |
Merge branch 'release/0.7' into wdtk
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, |