Google Chat "rooms" are being renamed "spaces." It may take time for the name change to appear everywhere. Learn more.

/mail/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
Some of the links in email are getting destroyed in gmail
0
I have a service which sends email notification. This email has a link which takes user to the web site. For some of the email, this link is broken in GMail.
Below is such URL which is lost in GMail

https://dev-rp-z5wwplvmpt7tu.azurewebsites.net/Explore?tags=Debug.This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test,NewTemplate.This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test,NewSource.SysTimeSec,NewSource.SysFatalErrCnt,$MES.Austin.Palletizer%201.Availability,$MES.Houston.Filler%202.Idletime,$MES.Houston.Palletizer%202.DowntimeDuration,Debug.EmailTest,EdgeDevice.2012VM8GLF3.stag2,NewSource.SysDateMonth,NewSource.SysEventHoursQueried,NewSource.SysEventReplicationValuesPerSec2,NewSource.SysEventSystem,NewSource.SysMinutesRun,NewSource.SysOLEDB,NewSource.SysPerfDataImportPrivateBytes,NewSource.SysPerfDataImportVirtualBytes,NewSource.SysPerfEventStorageHandleCount,NewSource.SysPerfEventSysVirtualBytes,NewSource.SysPerfEventSysVirtualMBytes,NewSource.SysPerfInSQLIOSPrivateBytes,NewSource.SysPerfReplicationCPU,NewSource.SysPerfStorageHandleCount,NewSource.SysPerfStoragePageFaults,NewSource.SysPerfStorageVirtualBytes,NewSource.SysReplicationTotalValuesTotal,NewSource.SysRetrieval,NewSource.SysSpaceBuffer,NewSource.SysStatusMode,NewSource.SysStatusRxItemsPerSec&chartType=compositechart

Can someone explain why links are broken in GMail ?
Latest Update Latest Updates (0)
Relevant Answer Relevant Answers (0)
All Replies (15)
Relevant Answer
Hi Darshan, what exactly happens to the link?
Are you sending that link as just text in the email message body or are you sending it as a live link (an <a> tag in the HTML part)?  If you are sending it as plain text, you might get a better result by using the markup.
marked this as an answer
Relevant Answer
For interest, I copied your link from the post above and emailed it as plain text from one Gmail account to another.  It came through perfectly, so perhaps ypur issue is in the sending email software rather than the receiving?

However, I note that the link is immense.  Perhaps not what you intended?  I think you would do better to use some form of link shortener if this much information is needed in a URL.

NB: I deliberately broke the URL here by inserting new lines in arbitrary places because I couldn't stop this platform from adding an <a> tag.

https://dev-rp-z5wwplvmpt7tu.azurewebsites.net/Explore?
tags=Debug.This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test
%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This
%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is
%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for
%20test%20This%20is%20for%20test,NewTemplate.This%20is%20for%20test%20This%20is%20for
%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test
%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This
%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for%20test%20This%20is%20for
%20test%20This%20is%20for%20test%20This%20is%20for%20test,NewSource.SysTimeSec,
NewSource.SysFatalErrCnt,$MES.Austin.Palletizer%201.Availability,$MES.Houston.Filler%202.Idletime,
$MES.Houston.Palletizer%202.DowntimeDuration,Debug.EmailTest,EdgeDevice.2012VM8GLF3.stag2,
NewSource.SysDateMonth,NewSource.SysEventHoursQueried,NewSource.SysEventReplicationValuesPerSec2,
NewSource.SysEventSystem,NewSource.SysMinutesRun,NewSource.SysOLEDB,
NewSource.SysPerfDataImportPrivateBytes,NewSource.SysPerfDataImportVirtualBytes,
NewSource.SysPerfEventStorageHandleCount,NewSource.SysPerfEventSysVirtualBytes,
NewSource.SysPerfEventSysVirtualMBytes,NewSource.SysPerfInSQLIOSPrivateBytes,
NewSource.SysPerfReplicationCPU,NewSource.SysPerfStorageHandleCount,
NewSource.SysPerfStoragePageFaults,NewSource.SysPerfStorageVirtualBytes,
NewSource.SysReplicationTotalValuesTotal,NewSource.SysRetrieval,NewSource.SysSpaceBuffer,
NewSource.SysStatusMode,NewSource.SysStatusRxItemsPerSec&chartType=compositechart
marked this as an answer
Relevant Answer
Hi KeithR, Thanks for reverting !

what exactly happens to the link?: The URlL is blank for the href of anchor tag.

The email is built using software and sent using send grid template. It's an anchor tag <a> that carries the link. The same email works fine in other email agent like outlook. 

Was reading about the Gmail being parsing these links to build their "data-saferedirecturl" URL attribute. For mentioned URL in post, "data-saferedirecturl" attribute is blank as well, so suspecting GMail is loosing it as it try to build the attribute. 

PS: If you inspect link in GMail, you would see "data-saferedirecturl' attribute which GMail adds

Any idea on this please ?

Thanks
marked this as an answer
Relevant Answer
Have you checked the raw text received by Gmail?  What you see on the screen in the Gmail web interface is highly processsed.  You can see the raw text using Gmail's Show original feature:
  • Open the message, then click on the three vertical dots just right of the upper Reply button then on Show Original
I'm not sure that anyone here will know about that.  You might find some help at the same site that you discovered data-saferedirecturl.
marked this as an answer
Relevant Answer
Thanks LavuR, but we can't tell customer to fix their gmail. It has to work just like other email. I tried what you have suggested but still, the link is broken
marked this as an answer
Relevant Answer
Actually the suggestion from LavuR is totally irrelevant.  It relates only to using Gmail to open mailto: llinks from web pages.

If all your links are as long as the sample you posted above, I strongly suspect that is the proiblem - they are too long for Gmail's linkify process.  Would you be able to get your system to send a sample to me at k31thr.test @ gmail.com?  With an original sample, I can test a few theories.
marked this as an answer
Relevant Answer
Sending you the email is not strait  forward(through our software), for that I have to add your email to our system which I think won't be feasible. Let me forward you the email and see if that helps you.
Again thanks for all the help  Keith !
marked this as an answer
Relevant Answer
I have sent you similar email from Gmail and outlook. The one from outlook works fine.
marked this as an answer
Relevant Answer
I don't know if this helps, but the one sent from Gmail  displayed [I imagine] as expected and the original message is in readable HTML while the one sent from Outlook is blank on my screen and the original message is base64 encoded.

I thought your problem was with the message as received by Gmail rather than as sent by Gmail?

There were no active links other than in this section (and in the footer):


There are no <a> tags in the message that look like the one you posted above.
marked this as an answer
Relevant Answer
Hi Noraa, happy to try your friend's simple way, but you'll need to explain it.
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/mail/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
17
false