Page 1 of 1

subscribe to more mailinglists

Posted: Thu Apr 24, 2008 12:33 pm
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

form code

Posted: Thu Apr 24, 2008 5:01 pm
by maschoff
Do you mind posting the code of your subscription form here so that we can have a look?

Posted: Mon Apr 28, 2008 9:41 am
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

Posted: Mon Apr 28, 2008 10:40 am
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.

Posted: Mon Apr 28, 2008 10:48 am
by avajon
thanks, but this error was only in this post. i had two different id's (1 and 2) in the script.

Posted: Mon Apr 28, 2008 1:06 pm
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?

Posted: Tue Apr 29, 2008 8:02 am
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).

Posted: Tue May 20, 2008 10:06 am
by maschoff

documentation

Posted: Thu May 29, 2008 7:22 am
by maschoff
The documentation of the script action feature is now available:

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

Have fun!