Hello,
How can I send a HTML email (which I know) with a link that tracks if they visited the website? This is what I'm doing:
$ver = mysql_query("SELECT * FROM mailinglist ORDER by email ASC");
$message = "My message goes in here...";
while($found = mysql_fetch_array($ver)) {
$message .= "<a href=\"$link_url?email=$send_to\" target=_blank>$desc</a>";
mail($found['email'], $SUBJECT, $message, $header);
}
I'm able to send the e-mail with the link working, but the link appears as many times I have emails in the database... I'm just not finding the correct place to put the 2nd $message line