hi this is where i've added the line of code. Is that o.k?
fputs($ssock, $themesg."\r\n.\r\n");
$srvmsg = fgets($ssock, 1024);
$errmsg .= $srvmsg;
if($smtp_debug) logwrite($bugf,$srvmsg);
$lastmsg = substr($srvmsg, 0, 3);
if ($lastmsg <> "250") $error = 1; else $error = '';
}
}
if(($y % '2')==0 && $y <> sizeof($sendq)) usleep(14500000);
}
else {
// use php mail()
$body = str_replace("\r\n","\n",$body);
// echo htmlspecialchars("WINDOWS=$windows EMAIL=<b>$email</b> SUBJ=<b>$xsubj</b> BODY=<b>$body</b> HEADER=<b>$header</b><br>");
Another question:
How do I find the INACTIVE subscribers in my list.
Basically what I want is everytime I add a new follow up letter to my list, to have that letter send to EVERYONE, who has reached the end of all the emails - i.e the inactives.
thanks
sanj