Trackable Link is Busted

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

cdillardhsp
Posts: 12
Joined: Thu Jan 06, 2011 7:28 pm

Trackable Link is Busted

Post by cdillardhsp »

We followed the installation guide for OpenEMM 6.2 and made the changes to alter the hostname in the database and the emm.properties file. We've restarted OpenEMM.

When we create a mailing the trackable link points to
http://mail.ourcompany.com:8080/mail.ou ... om/ir.html......

The problems with this link are:
(a) it contains mail.ourcompany.com twice, once as the hostname and again as part of the URL/URI
(b) it doesn't obey the setting we made to have the links use TCP port 80 instead of 8080.

Any help would be much appreciated.
cdillardhsp
Posts: 12
Joined: Thu Jan 06, 2011 7:28 pm

A little progress but still not working correctly

Post by cdillardhsp »

I've made some progress but the links, while more properly formatted, still do not work.

Here's a link that gets sent. Notice the 3D in the tag. This seems to break the link and results in no tracking of opened mail. Also, when sending to a bad address the bounce is not recorded in the Statistics. This is a fresh install of 6.2.

Link 1
Here's the link to our site.
mailer.mentonline.com/r.html?uid=3D1.6.3.a.6e1ozgmnvk
-- Notice there is no http:// in the link

Link 2
---==AGNITASOUTER164240059B29000006==
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<img src=3D"mailer.mentonline.com/g.html?uid=3D1.6.3.0.i37arpvdk0" alt=
=3D"" border=3D"0" height=3D"1" width=3D"1">
<strong>Welcome to our test l=
ist.</strong><br /><br />This is a test mailing.  Please use the lin=
k below.<br /><br /><a href=3D"mailer.mentonline.com/r.html?uid=3D1.6.=
3.a.6e1ozgmnvk">http://www.technology.com</a>
<br /><br />Thank you,<br=
/>Us<br />
---==AGNITASOUTER164240059B29000006==--
cdillardhsp
Posts: 12
Joined: Thu Jan 06, 2011 7:28 pm

Post by cdillardhsp »

The links work in Gmail but not using Zimbra web or Thunderbird. Anybody know how best to address this?
cdillardhsp
Posts: 12
Joined: Thu Jan 06, 2011 7:28 pm

Re: Trackable Link is Busted

Post by cdillardhsp »

Can anyone help with this? The 3D in the trackable link seems to break usage in Thunderbird and other mail clients, though it does seem to work in the Gmail web client and Outlook.

My original post is old. I expected there would be more community help in this forum than what I'm seeing. I see that others post and never get responses either.
pace
Posts: 14
Joined: Tue Jan 25, 2011 9:07 am

Re: Trackable Link is Busted

Post by pace »

I'm seeing the same issue with my new install of 6.2. The emails work in some mail clients, but in others they do not. I've got "3D" inserted all over the place in the HTML.

For example:

Code: Select all

<table cellspacing=3D"0" align=3D"center" width=3D"600" cellpadding=
=3D"0">
My link UIds have it stuck in them as well:

Code: Select all

?uid=3D1.f.2d.1y.ch1bil7alu
pace
pace
Posts: 14
Joined: Tue Jan 25, 2011 9:07 am

Re: Trackable Link is Busted

Post by pace »

After checking around about this it looks like the "quoted-printable" transfer encoding that the email is being sent as is causing the problems with Thunderbird and creating the "3D". Anyone know if there is a way to change this to use base64?


pace
pace
Posts: 14
Joined: Tue Jan 25, 2011 9:07 am

Re: Trackable Link is Busted

Post by pace »

I love talking to myself. The fix for me was to set the character set of the mailing to UTF8. Of course I know this will break old old Mac Mail, but oh well.


pace
pace
Posts: 14
Joined: Tue Jan 25, 2011 9:07 am

Re: Trackable Link is Busted

Post by pace »

Okay, I spoke too soon. The UTF8 thing fixed my regular links, but my trackable links are missing the "http://". It seems that the magic that places the uids in there is also removing the http:// for me.


pace
pace
Posts: 14
Joined: Tue Jan 25, 2011 9:07 am

Re: Trackable Link is Busted

Post by pace »

surferjoe
Posts: 19
Joined: Wed Oct 08, 2008 2:58 pm

Re: Trackable Link is Busted

Post by surferjoe »

I'm having the same problem on my OpenEMM 6.0 installation and I think it could be fixed changing the value of

mailgun.ini.default_encoding=quoted-printable

in the emm.properties config file.
I'm going to test it now, I'll let you know.
surferjoe
Posts: 19
Joined: Wed Oct 08, 2008 2:58 pm

Re: Trackable Link is Busted

Post by surferjoe »

nevermind ...I fixed it after adding "http://" at the beginning of the company_tbl.rdir_domain field in the openemm database

mysql> select rdir_domain from company_tbl
+--------------------+
| rdir_domain |
+--------------------+
| mydomain.com |
+--------------------+

mysql> update company_tbl set rdir_domain = "http://mydomain.com"

mysql> select rdir_domain from company_tbl
+-------------------------------+
| rdir_domain |
+-------------------------------+
| http://mydomain.com |
+-------------------------------+

I restarted openemm after updating .

I hope this will fix your links too
cardiffcreative
Posts: 4
Joined: Tue Aug 23, 2011 10:51 pm

Re: Trackable Link is Busted

Post by cardiffcreative »

I'm new to this system and I have had this same problem. I'm using the 6.2 VMware Image
After trying everything listed, my emails were still coming though splattered with =3D everywhere.

One post suggested Base64 would be a nice option, so I had a dig around and altered the following lines (new values shown) in
/home/openemm/webapps/core/WEB-INF/classes/emm.properties

mailgun.ini.default_encoding=base64
mailgun.ini.default_charset=UTF-8

I amended the templates to UTF-8 and to make sure, copied the text out of the boxes into Windows notepad and pasted them back in.
Altered the Mailings to UTF-8 also.

The emails now come through entirely base64 and no corruption occurs.

I have also noticed that both Gmail and Windows Livemail are caching the images, which is a headache when testing and the stats don't always change unless I quit the app and re-load. Maybe the tracking images should have a random number appended?
Post Reply