Per mailinglist tracking domains

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Per mailinglist tracking domains

Postby Anton » Fri Aug 16, 2013 5:20 pm

Hi,

I have implemented a couple of very basic changes that allow one to specify a tracking domain per mailinglist. It appears that this was once possible, is possible in the non FOSS version, or is on the roadmap when looking at the code.

Does anyone have any info on this? The changes I made were basically just to add a column (same definition as on company_tbl) to mailinglist_tbl and then change the query in Data.java to:

if(not ml.rdir_domain is null and ml.rdir_domain != '', ml.rdir_domain, c.rdir_domain)

I haven't yet tested fully with all the stats collection but it looks fine (previews and emails are generated correctly when going via a smart-relay). Do you see any gotchas?

I will make this available on github when it's finished.

Cheers.
Anton
 
Posts: 46
Joined: Sun Jun 24, 2012 9:58 pm

Re: Per mailinglist tracking domains

Postby Anton » Sat Aug 17, 2013 10:43 pm

https://github.com/AntonOfTheWoods/openemm-patches

These patches seem to do what I want. Any comments most appreciated.
Anton
 
Posts: 46
Joined: Sun Jun 24, 2012 9:58 pm


Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron