I had some problems creating a double opt in subscription for newsletter.
I created a HTML form:
Code: Select all
<form action="http://193.cc.bb.bb:8080/form.do" method="post">
<input name="agnCI" value="1" type="hidden">
<input name="agnFN" value="DoubleSave" type="hidden">
<input name="agnSUBSCRIBE" value="1" type="hidden">
<input name="agnMAILINGLIST" value="1" type="hidden">
<input name="gender" value="0" checked="checked" type="radio"> Herr <input name="gender" value="1" type="radio">
<input class="inputtype" name="title" maxlength="60" type="text">
<input name="FIRSTNAME" type="text">
<input class="inputtype" name="email" maxlength="80" type="text">
<select name="mailtype" size="1">
<option value="0">Text</option>
<option value="1" selected>HTML</option>
</select>
<input class="inputsubmit" name="submit" value="Anmelden" type="submit">
</form>
I've created these actions:
1) "Double opt-in: send e-mail":
Type: Send actionbased mailing. Activated mailing is selected.
2) "Double opt-in: Confirmation": Type: Double-Opt-In Confirmation
3) "Double opt-in: Subscription": Type: Subscribe. Use Double-Opt-In. Check dublicate.
And these forms in OpenEMM:
1) DoubleSave:
Start action: Double opt-in: Subscription
Concluding action: Double opt-in: send e-mail:
Success form: HTML code for redirecting to success page
2) DoubleConfirm:
Start action: Double-Opt-In Confirmation
Concluding action: -
Success form: HTML code for redirecting to success page
The form data is correctly added to the subscriber data (Waiting for user confirmation etc). But no confirmation mail arrives.
I'm using the external IP address in the subscription form and in the opt in confirmation link. Maybe this causes some trouble?
I've checked the actionbased mailing for the double opt in and found out that the redirection url with agnUID isn't inserted in the text version of the mailing (in the preview). The HTML version is correct.
var/log/20071123-unknown-mailgun.log says:
Code: Select all
[23.11.2007 15:58:58] DEBUG/init/(1/1/4/21): mailing_name = auto_double_confirm
Are there any differences between sending an actionbased mailing and a regular mailing (leaving click stats apart)?
The "unknown" in the log file names is okay?
Thanks for any hints.