Ruby on Rails Saturday, May 16, 2015

Hi All,

I have to send user profile password via email, where password will have special characters as below

>>"><<<<<!@#$%^&*()_-+=|{}[]/.,`

Whenever I send email, some of the special characters are not being displayed, I have used the html_safe, also set the meta tag as below, but special characters are always being removed in the mails, can anybody let me know the way to display special characters in mailer views?

  <meta content='text/html charset=UTF-8' http-equiv='Content-Type'>

Actual password: >>><<<<<!@#$%^&*()_-+=|{}[]/.,`
Password in mail: >>><<<`

regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAD_i5MHghC%3DSi%3DXrJkrdqMGsaFL3ttPABgN-%2B4Ej_%2BjkGrWD7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment