Hi,
I have a joomla newsletter site with AcyMailing version 5.0.1. I am trying to implement a custom subscription form in C# to register from another site. I tried to follow the method described in the following url without success.
https://docs.acymailing.com/setup/subscription-to-your-lists/external-subscription
Is there any guidelines how to do it?
Following is my source code.
<form action="http://newsletter.mysite.gr/index.php" method="post">
<table class="acymailing_form" style="width: 100%">
<tr>
<td><input type="text" class="form-control mb-2" placeholder="Your name" id="user_name" name="user[name]" value="" /></td>
</tr>
<tr>
<td><input type="text" class="form-control mb-2" placeholder="Your email" id="user_email" name="user[email]" value="" /></td>
</tr>
<tr>
<td colspan="2">
<input class="btn btn-primary btn-block" type="submit" value="Subscribe" name="Submit" />
</td>
</tr>
</table>
<input type="hidden" name="ajax" value="1">
@*<input type="hidden" name="ctrl" value="frontusers" />
<input type="hidden" name="task" value="subscribe" />*@
<input type="hidden" name="ctrl" value="sub" />
<input type="hidden" name="task" value="notask" />
<input type="hidden" name="redirect" value="http%3A%2F%2Fnewsletter.mysite.gr%2F">
<input type="hidden" name="redirectunsub" value="http%3A%2F%2Fnewsletter.mysite.gr%2F">
<input type="hidden" name="option" value="com_acymailing" />
<input type="hidden" name="hiddenlists" value="12" />
<input type="hidden" name="seckey" value="mykey" />
</form>
I tried also to enable the module but still is not working. I changed values in the hidden fields to the values the module have in joomla frontend but again without any luck. Is the any guidance on how to do it?
Best Regards
Thomas