encoding problem with mailcatcher
-
Hi,
I installed wp and cf7 on my mac, but when I send test emails (in german) to mailcatcher I get an encoding error in the mailcatcher log.
I am really stuck here. Does anyone how to solve this?
Here’s the log:
Starting MailCatcher ==> smtp://127.0.0.1:1025 ==> https://127.0.0.1:1080 ==> SMTP: Received message from '<[email protected]>' (1102 bytes) /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/core_ext/object/json.rb:34:in
encode’: “\xC3” from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/core_ext/object/json.rb:34:in `to_json’
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/core_ext/object/json.rb:34:in `to_json_with_active_support_encoder’
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/json/encoding.rb:57:in `to_json’
from /Users/username/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/json/common.rb:223:in `generate’
from /Users/username/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/json/common.rb:223:in `generate’
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/json/encoding.rb:101:in `stringify’
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/json/encoding.rb:35:in `encode’
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/json/encoding.rb:22:in `encode’
from /Users/username/.rvm/gems/ruby-2.2.0@global/gems/activesupport-4.2.4/lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/mailcatcher-0.6.3/lib/mail_catcher/web/application.rb:67:in `block (3 levels) in <class:Application>’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `call’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `block (3 levels) in push’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `each’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `block (2 levels) in push’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `each’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `block in push’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:256:in `call’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:256:in `schedule’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb:43:in `push’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/mailcatcher-0.6.3/lib/mail_catcher/mail.rb:57:in `block in add_message’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:981:in `call’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:981:in `block in run_deferred_callbacks’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:978:in `times’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:978:in `run_deferred_callbacks’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in `run_machine’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in `run’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/mailcatcher-0.6.3/lib/mail_catcher.rb:153:in `run!’
from /Users/username/.rvm/gems/ruby-2.2.0/gems/mailcatcher-0.6.3/bin/mailcatcher:5:in `<top (required)>’
from /Users/username/.rvm/gems/ruby-2.2.0/bin/mailcatcher:23:in `load’
from /Users/username/.rvm/gems/ruby-2.2.0/bin/mailcatcher:23:in `<main>’
from /Users/username/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `eval’
from /Users/username/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in<main>'
- The topic ‘encoding problem with mailcatcher’ is closed to new replies.