Digest mail link failed to open


#1

Hello awesome guys!

I found that the links in the digest mail sent by mailgun are all failed to open. The browser shows me that it took too long to respond.

Please help!


(Jay Pfaffman) #2

You’d need to include more info. My guess is that mailgun is re-writing the links, maybe? What is the hostname in the links? Is it the same as your site?


#3

Hi Jay,

Thanks for your reply and help!

The hostname in the links are not the same as my site. Let’s say, if my site were example.com, the link is email.mail.example.com.

Yes, mailgun rewrites the links for collecting click info.

Any solutions?


(Jay Pfaffman) #4

Tell mailgun not to rewrite the links.


(Jay Pfaffman) #5

Oh, and/or create the CNAME for email.mail.example.com like mailgun told you to.


#6

Oh, if not rewrite links, will mailgun still be able to collect clicks/open info? I need that! lol

I use mailgun for other service as well, such as newsletter etc, they also rewrite the links, but I can click without any issues.


(Jay Pfaffman) #7

My guess is that those have a different domain name that you did set up the CNAME for.


#8

I’ll ask mailgun about this! Really appreciated for your help! :heart_eyes:


(Kai Liu) #9

It’s because you turned on link click tracking in your domain settings so mailgun rewrote your links to point to that server.


#10

Yes, you got it! So if I want the link works, do I have to turn off the link click tracking?

I need click tracking for other services written in other languages. Any ideas?


(Kai Liu) #11

Click tracking requires you to setup a CNAME record of “email” for your sending domain and point it to mailgun server. It is in the domain configuration page. I don’t use it so I’m not sure about setup detail but according to mailgun document it seems that’s the only step required.