Forum: Ruby on Rails Links broken in Email, encode or other alternatives?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2808b5c359edcb77ec783e3793c8d381?d=identicon&s=25 Rafael (Guest)
on 2007-06-21 23:25
(Received via mailing list)
Hi everybody,

may sombody has a solution for this problem?
When I send links like that:[id]=22&ke...

This Link is not clickable, the link breaks like this[id]

Does anybody know, how I could ensure, that the link remains

Thank you for every hint!


Bef7ff8a0537495a1876ffebdc9f8e51?d=identicon&s=25 Lionel Bouton (Guest)
on 2007-06-21 23:59
(Received via mailing list)
Rafael wrote:
> =22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5

Use alternative parts in your email with an HTML and a pure-text
versions of your e-mail. People using mail clients that don't show HTML
usually know how to rebuild the link from the pieces and won't blame the
problem on you. The HTML version should protect the links.

 From my experience, you'll have to spend quite some time in the docs
and source code of both Tmail and ActionMailer when playing with mime
like that...

5233478c51a92b6a1a5c970cbf3a42f3?d=identicon&s=25 Isak Hansen (Guest)
on 2007-06-22 09:37
(Received via mailing list)
On 6/21/07, Rafael <> wrote:
> =22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5
> Does anybody know, how I could ensure, that the link remains
> clickable?

Try typing the url inside a pair of angle brackets, i.e.:

2808b5c359edcb77ec783e3793c8d381?d=identicon&s=25 Rafael (Guest)
on 2007-06-23 14:50
(Received via mailing list)
Thank you very much for your help

here a little tip back, which I found in Rails Recipes.
I go for the multipart/alternative solution.

Sending an email as HTML AND Plaintext makes sense and is for me, the
way to go.
What helped me, to find a quick solution on changing the Action Mailer
behaviour in
Login Sugar, act_as_authenticated was this very helpful book
"Rails Recipes" look for the Recipe `Send Gracefully Degrading Rich-
Content Emails`.

Hope this help some people more out there.


This topic is locked and can not be replied to.