diff options
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index faade19e9e..9afe5138d9 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -181,7 +181,9 @@ module ActionMailer #:nodoc: def receive(raw_email) logger.info "Received mail:\n #{raw_email}" unless logger.nil? - new.receive(TMail::Mail.parse(raw_email)) + mail = TMail::Mail.parse(raw_email) + mail.base64_decode + new.receive(mail) end private |