Hi Mario,
perhaps I can help you.
This is how the users are selected:
At first all users are selected from the fe_users table which are not deleted or disabled, which have the usergroup you configured in the Extensionmanager and which have in the field tx_teopenemmnewsletter_update a lower value than in the field tstamp.
Perhaps the SQL statement is more clear:
- Code: Select all
$sql = 'SELECT uid, email, first_name, last_name, tstamp, gender, title, tx_teopenemmnewsletter_newsletter, tx_teopenemmnewsletter_newsletter_mailtype, tx_teopenemmnewsletter_newsletter_typ, tx_teopenemmnewsletter_targetgroups, tx_teopenemmnewsletter_delete, tx_teopenemmnewsletter_update, comments
FROM fe_users
WHERE deleted+disable = 0
AND usergroup = '.intval($this->usergroup).'
AND tx_teopenemmnewsletter_update < tstamp
ORDER BY last_name, first_name, email ASC
LIMIT 500';
If this statements returns nothing, the message "No new recipients, no synchronization required." will be shown.
Does this answer help you to find the error?
I'm not allowed to give you our complete Newsletter template, but I can give you a code snippet froum our Newsletter template to give you an idea how it could look like:
- Code: Select all
[agnDYN name="ueber1unter1_title"]
<tr>
<td colspan="2" style="border-bottom: 1px solid #B1E002; padding-bottom:4px;">
<table width="590" border="0" cellspacing="5" cellpadding="0" style="font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000033;">
<tr>
<td colspan="2">
<h3 style="font-weight: bold; font-size:13px;">
<img src="http://www.marit.ag/newsletter/template/li-eckig.jpg" style="margin-bottom:1px;" />
<a name=ueber1unter1></a> [agnDVALUE name="ueber1unter1_title"/]</h3></td>
</tr>
<tr>
<td valign="top" align="center"> [agnDYN name="ueber1unter1_image1"]
<div style="width: 150px; text-align: center;">
<img src='[agnDVALUE name="ueber1unter1_image1"/]'> [agnDYN name="ueber1unter1_imagecaption1"]<br /><br /> [agnDVALUE name="ueber1unter1_imagecaption1"/] [/agnDYN name="ueber1unter1_imagecaption1"]
</div> [/agnDYN name="ueber1unter1_image1"]</td>
<td valign="top"> [agnDYN name="ueber1unter1_short"/]</td>
</tr>
</table> [agnDYN name="ueber1unter1_links1"]
<table width="590" border="0" cellspacing="5" cellpadding="0" style="font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000033;">
<tr>
<td> [agnDYN name="ueber1unter1_readmore"/]</td>
<td style="text-align: right; color:#82A80F; text-decoration: none">
<a href="[agnDVALUE name="ueber1unter1_links1"/]">[agnDYN name="ueber1unter1_linktitle"/]</a></td>
</tr>
</table> [/agnDYN name="ueber1unter1_links1"]</td>
</tr>
[/agnDYN name="ueber1unter1_title"]
If you want to see the whole Newsletter
visit our website (click me).
Kind regards
Marco
www.marit.ag