Hi everybody, may sombody has a solution for this problem? When I send links like that: http://www.example.org/user/welcome?user[id]=22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5 This Link is not clickable, the link breaks like this http://www.ella.org/user/welcome?user[id] =22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5 Does anybody know, how I could ensure, that the link remains clickable? Thank you for every hint! greetinx Rafael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Lionel Bouton
2007-Jun-21 21:59 UTC
Re: Links broken in Email, encode or other alternatives?
Rafael wrote:> Hi everybody, > > may sombody has a solution for this problem? > When I send links like that: > > http://www.example.org/user/welcome?user[id]=22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5 > > This Link is not clickable, the link breaks like this > > http://www.ella.org/user/welcome?user[id] > =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... Lionel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Isak Hansen
2007-Jun-22 07:36 UTC
Re: Links broken in Email, encode or other alternatives?
On 6/21/07, Rafael <beyoumedia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi everybody, > > may sombody has a solution for this problem? > When I send links like that: > > http://www.example.org/user/welcome?user[id]=22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5 > > This Link is not clickable, the link breaks like this > > http://www.ella.org/user/welcome?user[id] > =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.: <http://www.example.org/user/welcome?user[id]=22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5> HTH, Isak> Thank you for every hint! > > greetinx > > Rafael > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. Greetings Rafael On 22 Jun., 09:36, "Isak Hansen" <isak.han...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 6/21/07, Rafael <beyoume...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Hi everybody, > > > may sombody has a solution for this problem? > > When I send links like that: > > >http://www.example.org/user/welcome?user[id]=22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5 > > > This Link is not clickable, the link breaks like this > > >http://www.ella.org/user/welcome?user[id] > > =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.: > <http://www.example.org/user/welcome?user[id]=22&key=2a965027574e6bd0418f5b9b72c875a49d464fc5> > > HTH, > Isak > > > Thank you for every hint! > > > greetinx > > > Rafael--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---