Hello,
I just notice that URLs are not displayed in full using email notifications.
Interestingly, when in the message settings the final filter is set 'html to text' (with format filter 'full html') the URLs will be displayed in full but only the links that are moved to the end.
Any idea how the URLs in the body can be displayed in full?
Many thanks and best,
Gerben
Comments
Comment #1
jose reyero commentedTry a different filter. That's what the 'html to text' filter does (moving links to the end)
Comment #2
Gerben Zaagsma commentedI understand that the 'html to text' filter moves links to the end. I should have been more clear: i would prefer to use the plain text filter and when I use that filter long links are not displayed in full. So the question is why links in the body are not completely displayed with the plain text filter?
To give an example:
This URL:
htp://yiddish-sources.com/event/warsaw-8th-international-summer-seminar-yiddish-language-and-culture
Becomes this in the email:
http://yiddish-sources.com/event/warsaw-8th-international-summer-seminar....
But clicking it does not expand to the full link.
Hope this helps,
best,
Gerben
Comment #3
jose reyero commentedMaybe that is done by your email client?
Post the full received message (Mail source) so we can check. Also which other filters are you using in the middle?
One more guess: you may be using some filter that is an url shortener, so when we remove the html tags it just displays the (wrong) left-over text?
Comment #4
Gerben Zaagsma commentedHi José,
Thanks very much for the help. It turned out to be an issue with the filters. I set the format filter in the messaging settings to "messaging plain text" and the filter in the message template to "none". All perfect now!
Gerben
Comment #5
Gerben Zaagsma commentedComment #6
jday commentedsame issue with [node-url] getting cut off in emails, I have the messaging settings set to "messaging plain text" but I do not see how to set the filter to "none" in the message template, where is that?
Comment #7
jday commentedI'm using 6.x-2.3 and having problems with the [node-url] token
when I create a new node, the email I get shows the link like this:
Read more http://greatlakeswater.uwex.edu/node/231but when other users get notification emails the url looks like this:
Read more http://greatlakeswater.uwex.edu/library/general/glrwp-newsletter-decembe...and the link does not work (as it is cut off), it there some setting I'm missing somewhere?
Comment #8
ferdinand64 commentedI even do not find the [node-url] token among available tokens. That's probably why I get the [node-url] untranslated in the email. I use this: Read more: [site-url]/node/[nid] instead of the lost token.
Comment #9
caspercash commentedHi drupal users!
I think I have the same problem as this is thread. In my email notification, the token [node-url] returns a url that doesn't have the sites domain. So for example if the node-url is http://drupal.org/node/1234, in the email notification, the url becomes http:///node/1234. its as if the domain drupal.org is stripped from the url. The links displayed in the footer of the email also looks like this:
http:///user/1541/notifications
http:///notifications/unsubscribe/sid/2374?signature=e701349104532fdf8598015a11541f31
Anybody knows how to workaround this problem? I kind of stuck as to how to solve this one. I would really much appreciate any suggestions/solutions to workaround this problem.
Thanks!
Comment #10
caspercash commentedposted my solution here