Programmatically send test email

Last updated on
12 September 2019
$node->simplenews['test_address'] = 'example1@example.com, example2@example.com';
simplenews_send_test($node);

or

This is called by simplenews_send_test().

simplenews_mail_mail($node->nid, $node->vid, 'example1@example.com, example2@example.com', 'test');

Help improve this page

Page status: No known problems

You can: