This project is archived and is in readonly mode.

#3354 ✓stale
krani1 (at 0x82)

mail_to with unicode subjects fails on outlook

Reported by krani1 (at 0x82) | October 8th, 2009 @ 04:23 PM

Hi.

 mail_to 'foo@bar.com', 'Foo Bar', :subject => 'Reunião'

 <a href="mailto:foo@bar.com?subject=Reuni%C3%A3o">Foo Bar</a>

This works find on most of the email clients, but on outlook it doesn't work (see the attached file).

I've tried using encodings (:hex and :javascript) but I keep having the same problem.

Any hint?

Comments and changes to this ticket

  • Jindong Yang

    Jindong Yang June 30th, 2010 @ 10:14 AM

    • Tag set to mail_to
    • Importance changed from “” to “”

    I ran into similar problems in chinese.

    Is there someone that can provide some suggestion?

    Thanks.

  • José Valim

    José Valim June 30th, 2010 @ 12:08 PM

    • Assigned user set to “Mikel Lindsaar”

    Let's wait for Mikel feedback to see if we can do something about this.

  • Mikel Lindsaar

    Mikel Lindsaar June 30th, 2010 @ 01:13 PM

    • State changed from “new” to “needs-more-info”

    The problem here is that we are passing in raw unencoded bytes into mail.

    krani1, can you please provide some more information:

    1) The resulting email source that is produced

    2) What version of Rails you are running on, ideally what version of Mail you have installed.

    Please update the ticket with this information so I can see what is going on.

    Mikel

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 05:01 PM

    • State changed from “needs-more-info” to “open”

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 05:01 PM

    • State changed from “open” to “stale”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Tags

Pages