I am sending an autoresponse email which seems to turn a paragraph text into a hyperlink even though I don't want that to happen. This is only happening to Gmail specifically. The text has to have the .co.uk within as thats the name of the company, so can't remove it by law.
I can't use an image replacement for this.
Does anyone know of any suggestions to this?
Adding is a wise option .
Solution for user2447272 :
Replace .co.uk in your mail body with .co.uk
Generic solution :
mailBody.replace(".",".");
It worked out for me.
All tricks with replacing dots didn't work for me.
I found another trick - just replace first letter of the domain in uppercalse.
For example, I had a link: fotodruka.lv which got replaced, but if I enter Fotodruka.lv it remains as text.
Wrapping the # and . in <span> seems to work too:
emailAddress = emailAddress.replace(/#/g, '<span>#</span>').replace(/#/g, '<span>#</span>')
I know Gmail likes to turn addresses and phone numbers into links - not sure why it is doing it to the whole paragraph though... This works to hide the blue hyperlink on phone numbers, so it may work if you wrap your address with this:
somewhere.co.uk
or try a zero width space . Never used it myself, but putting it into the middle of your address may make it unrecognizable (hence unconverted) in Gmail. You could also try breaking the address up with spans.
Related
I have a heavily modified Rainloop install. Figured out a lot of ways to modify it, but having the following issue:
Rainloop shows a DKIM signature indicator (with it's own interpretation) as a green checkmark.
If you hover your mouse pointer over it (when shown), it will show a "tool-tip" of the text in that header.
The problem here is, on mobile you can't "hover", generally speaking. How can I access the header data via JS, or how can I talk to the element for the "tool-tip" for the DKIM header info so I can put a click-listener on the indicator?
It's nice they show it on the mouse-over, but I can't seem to find any way to reference it.
In addition, it would be really grand to show that info in the "info" expandable box.
This is all pertaining to the Message View in Rainloop specifically.
Really nice program. But there is no documentation on their API.
Anyone have ideas on this? I can't seem to get a handle on it through devtools.
If I could just get a solid CSS selector to reference it by that would be grand.
All I seem to be coming up with on searches are similar expressions.
Hoping maybe someone on Stack might have found a clue on this, because DKIM is important, and ordinary users need simple indications as to trust.
This is something to help other people, not just me, so if anyone has a way can you share?
Okay. So right after I posted, I did find it. Not sure how I missed it before, but the dkim results header data can be found in the "dkim icon"'s title attribute-- the "icon" is an tag (rainloop hijacks the tag as UTF8 icon containers).
So the tooltip apparently is an actual tooltip, whereas I thought it was something like a hidden div being shown on a mouse-over.
I wonder if there is a way to get it to show on a click instead of a hover (preferably using CSS).
In Microsoft Outlook, in this case 2016, but also 2013, possibly older.
I need to change the color of the auto-inserted line, when replying to mails.
I know it can be done, since I have a customer that uses differently colored lines by default when replying or forwarding mails.
I tried asking, they have no idea how it's done :-/
Here are some pictures to illustrate what I need changed:
Note the two horizontal lines, one grey, one blue.
The grey is mine, with the default #E1E1E1 color.
The blue one is one my client forwarded, the one I'm aiming to replicate.
(#B5C4DF)
I found out where the line is applied. When placing the cursor in the "From" text of the message header, and choosing to format Borders and Shading..., it can be modified manually.
Here the settings can be seen.
But only manually in this case.
I need to know how to edit the default values.
Is it an Outlook setting?
Registry maybe?
Or is it somewhere in NormalEmail.dotm perhaps?
I'm at a loss, and extensive web searches have revealed nothing :-/
So, I have created an email signature and am testing it in Thunderbird. I am using thunderbird because they provide the easiest way of testing new signatures (just paste and go.)
However, I am finding that after I REPLY sometimes the images show up IN the email itself as
<my-image-name.gif> or sometimes they show up as
<mime-attachment.png>
This only happens on a reply, BUT it does show up this way on both the iPhone and Thunderbird.. Initially everything looks fine.
No, none of the images are missing. As mentioned, the signature looks great on initial send.
Wondering is there any meta-data info. I need to put in the beginning of the signature besides <html><body>? I think the email programs are jacking with the html in the signature. Is there a way to prevent it? Or is it something else entirely going on here?
What I am trying to figure out how to do is, when I send a regular text message through my iPhone's built in text messaging app, how can I hard-code a text message (signature) to be displayed after my text message I write to someone?
Example:
I launch my text messaging app, and I want to send a text to someone named John.
I then type the following to John in the text field: "Hello John, how are you?"
After I press the send button, I see the standard bubble, but below my text I sent to John is my hard coded signature.
So it sent my original text as well as my hard coded signature to John. So what exactly do I need to do "code wise" in order to accomplish this? Example code would be great if possible.
Thanks
It's not a perfect solution—iOS doesn't allow you to automate the sending of text messages (to prevent spamming and/or junk messages). However, you can present an interface through MFMessageComposeViewController.
In this class there is a body property. By setting an NSString to that property, you can present existing text. Of course the user would still work around that, and could delete it—that is something you have no control over, for UX reasons.
Is it possible to create a hyperlink in an sms in an iPhone?
For example, if I want the word 'foo' hyperlinked in HTML then I'll write foo in a normal situation.
If I want to have a certain word in my sms to be hyperlinked to something, is there any way I can do this? Like "I have a surprise for you" and the receiver taps on the hyperlinked word 'surprise' which will take the user to the destined page.
Any suggestions as to how this can be done? Examples and samples welcome!
Thanks in advance :)
No, you cannot use html tags in sms / text messages. All you can do is insert the URL without the tag. It then depends on the receivers device whether the URL is presented to the user as link or as plain text.
I experimented with exactly this just yesterday. It seems you can't include a nicely formatted hyperlink, unfortunately. I hope to be proven wrong by somebody else, though :-)
However, as you've probably seen yourself, iPhone is able to recognize an URL and you can tap on it to open the URL in Safari (or tap the disclosure button next the message to get more options on what to do with the URL). As far as I can tell the only thing you can do is format your SMS accordingly: "I have a surprise for you: http://foo.com" even though that might spoil the surprise ;-)
No, you can't do this due to privacy issues. Apple thinks that giving you this ability would allow you to link users to malware and such. Sorry!
i don't think it's possible to create hyperlinks in SMS.
The only way is to send an URL, and the iPhone will convert it to a link...
Use a tiny url from tinyurl.
It doesn't allow you to do exactly what you are wanting but it at least can be used to cover up the long link.
This is the closest thing I figure out to do. I was wanting to use the "
No, you can not do this. However you could use tinyurl and format it like this
http://whateverYouWantToSay#tinyurl.com
Web browsers usually ignore anything before an # therefore you could effectively hide the actual site being linked to, as long as your friend does not know that.
What actually happens is the data before the # is submitted to the web site in the form username:password. However it must be a site that requires authentication to access, or the site will normally just ignore it.
If this helps, I've noticed that a custom hyperlink is possible on the OS X Messages app, but they have to be copied and pasted. To replicate this right click on a hyperlink in your browser and hit copy link. Then paste into Messages.
Uhhh this is possible here is a screenshot of an example - I copied a link from email and pasted in a new SMS - though it appears you cannot type html to create a link....