- Code: Select all
$unsubscribeString='<a href="http://www.miafoto.it/iPhone/phpMedia/unregister.php?language=english&email='.$to.'">If you wish to stop receiving information from us, simply click once here.</a>';
echo "<br>Sending to: ".$to;
echo "unsubscribe string=$unsubscribeString";
with the echo above returning the correct string.
http://www.miafoto.it/iPhone/phpMedia/unregister.php?language=english&email=fbartolom@gmail.com
Yet when I introduce it in the email to send it to user by the following piece of code:
- Code: Select all
<span style="font:12px Chalkboard; ">
<b>Unsubscribe</b><br>
<?echo $unsubscribeString; ?>
</span>
that is how the string comes out:
http://www.miafoto.it/iPhone/phpMedia/unregister.php?language=english&email%C3%BBartolom@gmail.com
I tried encoding and decoding the string but I obtained the same result, albeit the encode version looked right, as well as inverting the parameters, or inserting the string instead of the variable in the url, but always obtaining the same result on the same email field.
I am really puzzled and quite worried as all unsubscription requests go awry and that could create big problems.


