Page 1 of 1

double-opt-in and agnMAILINGLIST not 1

Posted: Tue May 24, 2011 11:25 am
by ap_231
Hello together,
we are using OpenEMM 6.2 and want to implement double-opt-in since we have many subscriber every week to avoid incorrect email addresses stored in the system.
We want to offer our newsletter in CN and EN languages, so we are working with diffrent mailinglists.
Everything is working fine for agnMAILINGLIST=1. If we change the agnMAILINGLIS=5 in the en_doi form as follows, the link sent via email is not working any more:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<head>
<title>newsletter registration</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
body, table { font-family: Tahoma, Helvetica, sans-serif; font-size: 12px; }
h1 { font-family: Tahoma, Helvetica, sans-serif; font-size: 16px; }
select, input { font-family: Tahoma, Helvetica, sans-serif; font-size: 12px;}      
select { width: 200px; }
-->
</style>
</head>

<body bgcolor="#C0C0C0" link="#bb2233" vlink="#bb2233" alink="#bb2233">
<table width="480" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr bgcolor="#808080">
    <td bgcolor="#808080">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td>
          <form action="form.do">
          <input type="hidden" name="agnCI" value="1">
          <input type="hidden" name="agnFN" value="en_doi_confirm">
          <input type="hidden" name="agnSUBSCRIBE" value="1">
          <input type="hidden" name="agnMAILINGLIST" value="5">          
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>            
            <tr>
              <td width="10">&nbsp;</td>
              <td><h1>NEWSLETTER REGISTRATION 1/3</h1>
                  <p>Subscribe our newsletter here:</p>
                  <table border=0>
                  <tr><td width="120">salutation:</td>
                      <td><select name="GENDER">
                            <option value="2" selected>unknown</option>
                            <option value="1">Ms.</option>
                            <option value="0">Mr.</option>
                          </select></td></tr>
                  <tr><td>firstname:</td>
                      <td><input type="text" name="FIRSTNAME" style="width: 200px;"></td></tr>
                  <tr><td>lastname:</td>
                      <td><input type="text" name="LASTNAME" style="width: 200px;"></td></tr>
                  <tr><td>eMail:</td>
                      <td><input type="text" name="EMAIL" style="width: 200px;"></td></tr>
                  <tr><td valign="top">eMail format:</td>
                      <td><input type="radio" name="MAILTYPE" value="1" checked>HTML<br>
                          <input type="radio" name="MAILTYPE" value="0">Text</td></tr>
                  <tr><td colspan="2">&nbsp;</td></tr>
                  <tr><td><input type="submit" value="Send"></td>
                      <td><input type="reset" value="Cancel" onClick="javascript:history.back();"></td></tr>
                  </table>         
                  </td>                                 
              <td width="10">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>            
          </table>
          </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
Link looks correct:
http://newsletter.mediamarkt.cn:8080/r. ... lod87tjl6b
After clicking on it we get only error message:

NEWSLETTER REGISTRATION ERROR
Sorry, an error occurred.

Please try it again.

Greetings
Media Markt, China


The user is saved for correct mailinglist waiting for user confirmation.
Did we forget anything? Any idea?

Re: double-opt-in and agnMAILINGLIST not 1

Posted: Fri Jun 03, 2011 9:24 am
by Fatalin
Did you check the Mailing List number for double-optin mailings?
If you send a mailing during the double-optin process, the mailing must be send in the same mailing list the recipient belongs to.

Example:
If you subscribe to Mailing List #1, the double-optin (and any other confirmation mail) must be send to Mailing List #1.
If you subscribe to Mailing List #5, the double-optin (and any other confirmation mail) must be send to Mailing List #5.


Does this solve your problem?

Markus