diff options
author | Jonne Haß <me@jhass.eu> | 2014-09-20 06:05:57 +0400 |
---|---|---|
committer | Jonne Haß <me@jhass.eu> | 2014-09-20 06:05:57 +0400 |
commit | 5133458d30e0f9e8cc131f1a9613745beeaf5f75 (patch) | |
tree | 19491f26ca68b8dbf66f91cbb0110c719402f150 /app | |
parent | 2d2217b677710e65c1808f26fa8747eb22867ce6 (diff) |
Start converting IDN emails
Diffstat (limited to 'app')
-rw-r--r-- | app/mailers/notification_mailers/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notification_mailers/base.rb b/app/mailers/notification_mailers/base.rb index ec2950bfb..086228b06 100644 --- a/app/mailers/notification_mailers/base.rb +++ b/app/mailers/notification_mailers/base.rb @@ -23,7 +23,7 @@ module NotificationMailers end def name_and_address(name, email) - address = Mail::Address.new email + address = Mail::Address.new Addressable::IDNA.to_ascii(email) address.display_name = name address.format end |