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

jose reyero’s picture

Status: Active » Postponed (maintainer needs more info)

Try a different filter. That's what the 'html to text' filter does (moving links to the end)

Gerben Zaagsma’s picture

I 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

jose reyero’s picture

Maybe 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?

Gerben Zaagsma’s picture

Hi 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

Gerben Zaagsma’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
jday’s picture

same 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?

jday’s picture

I'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/231

but 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?

ferdinand64’s picture

I 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.

caspercash’s picture

Hi 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!

caspercash’s picture

posted my solution here