As I understood I have issue because use not ASCII symbols in emails address
Example:
Notifier.rb
mail(to: "Tamón ÄRUÄ <[email protected]>", subject: "Email subject")
Any advice how I can handle this case? I prefer keep user name in address.
", subject" /> ", subject" /> ", subject"/>
As I understood I have issue because use not ASCII symbols in emails address
Example:
Notifier.rb
mail(to: "Tamón ÄRUÄ <[email protected]>", subject: "Email subject")
Any advice how I can handle this case? I prefer keep user name in address.
Copyright © 2021 Jogjafile Inc.
According to
ActionMailerdocumentation multibyte encoding should be done automatically: http://guides.rubyonrails.org/action_mailer_basics.html#auto-encoding-header-valuesThere might be several things to try:
# encoding: utf-8to the first line of your controller;mail.transport_encoding = '8bit'http://www.rubydoc.info/github/mikel/mail/Mail%2FMessage%3Atransport_encoding