SOLVED: problems with ##AGNUID##

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

chill
Posts: 6
Joined: Wed Feb 13, 2008 11:13 am

Post by chill »

Had the same problem thx IL for helping me out. But now something strange happens. The double opt6 in confirm mail always uses localhost instead of the addres the server works on (www.xxx.homeip.net:8080). I didnt find the mistake i have done :oops: some help would be great.

Ok i have done [AGNUID] istead of [agnUID] my fault :D
markwaldin
Posts: 8
Joined: Thu Jun 24, 2010 7:59 pm

None of this works

Post by markwaldin »

I am running 6.1 and agnUID does not appear to work at all. I have used ##AGNUID## in a href as GET and as a POST and it is not substituted at all. I tried the prior suggestion and put in [agnUID] and that is not substituted in a POST either. The example in the user guide uses $!agnUID and that returns an empty string. It appears that 6.1 is very broken or the documentation and forums are very wrong.

One person complained about documentation being so poor and the admin suggested that since this is open source a user could update the documentation. I would be happy to do this but that is not possible unless one knows how the software functions.

Anybody have any help?
friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Re: None of this works

Post by friedbrain »

markwaldin wrote:Anybody have any help?
I have the same problem and mentioned it in your thread http://www.openemm.org/forums/viewtopic.php?p=5021#5021

I guess it's a bug in OpenEMM 6.1.
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

This is the footer of the OpenEMM newsletter:

Code: Select all

This newsletter was sent to e-mail address [agnEMAIL]. If you want to change your subscriber profile, please use this link:
http://www.openemm.org:8080/form.do?agnCI=1&agnFN=change&agnUID=##AGNUID##

If you want to unsubscribe from the OpenEMM newsletter, please use this link:
http://www.openemm.org:8080/form.do?agnCI=1&agnFN=unsubscribe&agnUID=##AGNUID##
the latest newsletter was sent with OpenEMM 6.1 and both links worked just fine for me. And since the statistics shows 9 unsubscribes it seems to have worked for other recipients as well.
OpenEMM Maintainer
friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Post by friedbrain »

That doesn't help me. The code in the newsletter is not the problem.

Can you please post the sourcecode of the 'unsubscribe' form?
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Sure:

Code: Select all

<html>
  <head>
    <title></title>
    <meta http-equiv="refresh" content="0; URL=http://www.openemm.org/unsubscribe?agnUID=$!agnUID">
  </head>
</html>
But you need to set up the necessary actions as well. The whole procedure is documented in the manual and somewhere here in a longer post as well.
OpenEMM Maintainer
friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Post by friedbrain »

Damn, I got it:

I have used [agnCUSTOMERID] in the template because I thought this would be right, after changing that to [agnUID] it works.

The URL then looks like this:
http://news.mytestserver.de:8082/form.d ... 0kyb7cm6su
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Perfect! :-)
OpenEMM Maintainer
friedbrain
Posts: 62
Joined: Tue Aug 25, 2009 8:17 am

Post by friedbrain »

Thanks for helping! :)
Post Reply