Hi Alo,
I'm trying to send a newsletter post to one subscribed user (I don't need to queue the message). I know how to get the user's data and I'm trying to send the message in the same way you send the test one, but it don't work.
Some information before the code snippet:
- Wordpress 3.2.1
- ALO EasyMail Newsletter 2.3
*********************
// $usuario is a variable with all the user data
// $newsletter_id is just the ID of one of the newsletters
$recip = array(
'email' => 'user@domain.com',
'newsletter' => 'sendable',
'ID' => $newsletter_id,
'user_id' => $usuario->ID
);
alo_em_send_newsletter_to( $recip );
*********************
When I execute this code I get the following Warning message:
*********************
Warning: strpos() [function.strpos]: Empty delimiter in /home/bubo/public_html/wp-content/plugins/alo-easymail/alo-easymail.php on line 2940
*********************
Despite the warning, I receive the message on the correct destination and from the correct sender (both name and email are correct). The problem is that I'm not getting the message content.
Can you help me, please? Surely I'm not using the correct function or I'm missing something trivial, but after some hours checking that issue I can't figure out where is the problem :(.
Best regards,
--
David
