I have a name like this Domain.com, in my normal e-mail account it will be displayed as plain text but at my mobile it's a link.
Is it possible to disabble it by a tag?
This is the email client adding the link afterwards. Trick is to make it unrecognizable so that it isn't triggered.
This article addresses the issue.
If you are not building a full html email (no style tag), you might be able to get away with adding a zero width space in the domain to help break it up. Something like this might work:
http://domain.com
Related
I was putting a text like this. address&login=personal_id#domain.com, on our web site just as plain text. But the browser displays it as it is inside a link anchor.
How does one stop the browser from creating links automatically?
Set span tags around # like <span>#</span>.
Example:
name<span>#</span>domain.com
When I try and create an HTML email signature and choosing it as my signature in Outlook the resulting display is horrendous. It literally ignores all the inline styles I specify on my text (eg, font-size:13px) and appears to enlarge things by about 66%. Even when I use the signature editor, my images end up enlarged. All the content lives inside a table layout.
I've tried many fixes from around the web, including opening the HTML in a browser and selecting all, then copying and pasting into the editor window. Even when I insert the image via the editor, it still comes out at that bigger size on the receiver's end. I've tried adding additional headers too.
I'd appreciate any input to help me solve this. The signature works fine in Thunderbird.
I come with an issue that is giving me some headaches.
I'm sendind some e-mail confirmations, using JavaMail and an HTML template, that is written on the message content.
This HTML template, has a URL on it, but this URL is not wrapped into a tag, it's just a plain text inside the HTML body.
The problem is that the URL appears as a clickable link on the mail message, and that's not the behavior I'd like. I'd prefer the user to copy and paste the URL to the browser (security policies at work)
Have any of you done something like this ?
Thanks in advance
You can't. You cannot control how mail user-agents handle incoming mail. Mail clients do this for the convenience of the user. I fail to see how this is a security issue.
The only alternative is to put the URI in an attached image, but that would just annoy your users.
you could explicitly code the url to not be a clickable link (a without the href)... It will still appear as a link, but it won't be clickable.
EDIT: It seems the user below is correct.
EDIT2: It actually seems I may have been correct. I tried composing an email at
http://putsmail.com/tests/838716156f824732c7f5456122c38e
with the html:
<html>
www.google.com
<a>http://www.google.com</a>
</html>
and the second link appeared as text.
You can't explicitly insert html in the gmail client, but you can with your own.
EDIT:
I went back this morning and tried this html:
<html>
www.google.com
<a>http://www.google.com</a>
http://www.google.com
</html>
and only the second link was plaintext. Just FYI...
I've found a way to do this.
The key is to insert a zero width space () somewhere between the URL
So, I changed my URL from
http://my.site.com/somecontext?contextid=somekeyvalue
to
http://my.site.com/somecontext?contextid=somekeyvalue
And now the URL is not interpreted as a link by the mail clients, but it's still good for a copy-paste to the browser.
Thank you all for your help!
I have a scenario where I want to check whether the alt-text of image, added on mail, is shown correctly while sending a mail or not. To test this, we added an img tag in mail but gave nothing in src and added an alt-text.
Now the problem is that the outlook-2010, instead of showing the alt-text, shows its own message "the linked image cannot be displayed.....". How can we avert this message to check our alt-text. Is there a better way to test such scenario in outlook-2010.
You can't control such things. You have control over an alt text styling (in some cases), but some mail clients will do whatever they want with your html and inline styles.
The only solution is to make sure your mail can be read without images, like adding a text close to the image. Most of the time, my templates have both the image and the text close to one another.
Test in Gmail (or Yahoo or anything else) instead. Outlook won't show ALT text. Here is some reference to which clients support displaying ALT text
Im using outlook 2007, and want a hyperlink to a site in the body parameter of the mailtolink.
The link to the site has whitespaces in it. If i try to use %20, the whitespace gets rendered but the problem is in outlook, the part of the link thats actually a hyperlink is from the beginning uptil the first white space.
like this:
www.my site.aspx
So here the bold is the actual hyperlink.
Does anyone know the solution to this?
Thanks.
Add < and > around the URL and outlook keeps the URL together ignoring the spaces.