subscribe to more mailinglists

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

avajon
Posts: 4
Joined: Thu Apr 24, 2008 12:25 pm

subscribe to more mailinglists

Post by avajon »

hi,

i saw some threads in this forum on how to subscribe to more than one mailing-list.
I tried to make a form with two mailing-lists. I get the double-opt-in mail and when i click on the link everything went fine. But when you look at the details of the user there is only the first mailinglist active and the second one waits for the Double-Opt-In Conformation.

Any ideas?

thanks
avajon
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

form code

Post by maschoff »

Do you mind posting the code of your subscription form here so that we can have a look?
OpenEMM Maintainer
avajon
Posts: 4
Joined: Thu Apr 24, 2008 12:25 pm

Post by avajon »

i use the examples that are built in. I created two mailing lists and changed the code in the form "double-opt-in german 1/3"

Code: Select all

<form action="form.do">
          <input type="hidden" name="agnCI" value="1">
          <input type="hidden" name="agnFN" value="de_doi_confirm">
          <input type="hidden" name="agnSUBSCRIBE" value="1">
          <input type="checkbox" name="agnMAILINGLIST" value="2">  
          <input type="checkbox" name="agnMAILINGLIST2" value="2">
          <input type="hidden" name="agnSUBSCRIBE2" value="1">        
          <table border="0" cellspacing="0" cellpadding="0">
the result when i click the double opt in link in the mail is:

Code: Select all

mailinglist:  	 

   E-Mail 	  Typ:
     Status:  Aktiv 	  Bemerkung: Opt-In-IP: 83.64.xxx.xxx
  24.04.2008 13:13:17


SNAP: 	 

   E-Mail 	  Typ:
     Status:  Wartet auf Double-Opt-In-Bestätigung 	  Bemerkung: Opt-In-IP: 83.64.xxx.xxx
  24.04.2008 13:14:07
Why should i wait for the double-opt-in-confirmation? i already click the link...

thanks
avajon
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

With code

Code: Select all

<input type="checkbox" name="agnMAILINGLIST" value="2">
<input type="checkbox" name="agnMAILINGLIST2" value="2"> 
you subscribe twice to the same mailing list (ID=2). You should use the (different) IDs of the two mailing lists you want to subscribe to.
OpenEMM Maintainer
avajon
Posts: 4
Joined: Thu Apr 24, 2008 12:25 pm

Post by avajon »

thanks, but this error was only in this post. i had two different id's (1 and 2) in the script.
avajon
Posts: 4
Joined: Thu Apr 24, 2008 12:25 pm

Post by avajon »

i found in the ActivateDoubleOptIn.java File that there is no way to activate more than one mailinglist. Shouldn't there be a function that looks how many mailinglist have to be activate?
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

You can subscribe to more than one mailing list via confirmed opt-in as described in the manual. If you insist on using the double opt-in process (which is the safer choice in case of legal trouble) you have to use a script action. We will provide a documentation listing the available method set for script action soon (we aim for next week).
OpenEMM Maintainer
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

OpenEMM Maintainer
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

documentation

Post by maschoff »

The documentation of the script action feature is now available:

http://www.openemm.org/fileadmin/docs/S ... tation.pdf

Have fun!
OpenEMM Maintainer
Post Reply