Location: PHPKode > scripts > Mail Send Addon for Drupal Simplenews Newsletter > form_example.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Send Mail Example Form</title>

From action should have ?op=1 at the end of file name.<br />
Edit uname field value to match the one you have at your php file (mail_cron_job.php)<br />
Use the pass that you have set in your php file (mail_cron_job.php)<br />
At footer you can add the urls for online view of message or anything else. You can use the Drupal node URL of the newsletter you will send.<br />
You should rename the mail_cron_job.php file to something else for security, so you should change the form action value here.<br />
<p><b>Send NewsLetter</b></p><form action="mail_cron_job.php?op=1" id="form1" method="POST" name="form1" target="_blank"><p>Uname: <input id="uname" name="uname" type="text" value="uname" /> Pass: <input id="pass" name="pass" type="text" /> <br>
Footer text (view online URL, etc.):<br><textarea name="footerxt" cols="" rows=""></textarea><br><input id="button" name="button" type="submit" value="Submit" /></p></form>
Return current item: Mail Send Addon for Drupal Simplenews Newsletter