I'm sending an HTML email which is only going to be opened using Microsoft Outlook.
Here's the HTML for the email:
<form action='http://server.com/unsubscribe.php' method='post'>
<input type='hidden' name='email' value='".$row1['EmailId']."' />
<input type='submit' value='Unsubscribe me'>
</form>
Here's the code for unsubscribe.php:
<?php
$id=$_POST["email"];
echo ($id);
?>
It appears that Outlook never actually calls the PHP script. I verified that it doesn't get called by putting an intentional error in the PHP script and watching the error log and I don't see the error.
I need to give the receiver a way to unsubscribe. What should I do?