Printer Friendly Version
Email this thread to a friend
|
New Blog Spam Comment (In: Members Lounge)
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
roatan
Joined: Jun 27, 2002
# Posts: 84
|
Posted: 2004-Jun-28 10:18
A client's ISP has apparently installed new Spam Guard and will not allow her to get responses from her web site. I'm using a PHP script. I had used cgiemail in the past, spam started stopping it, so I switched to PHP. Now that won't get through either. Is there anyone who is willing to look at my script and see if there is a fix to suggest?
|
 |
jcokos
Staff
Joined: Eons Ago
# Posts: 171
|
Posted: 2004-Jun-30 05:47
I'll take a look at it ...
but my first question is this: What sort of Spam Guard does your client have in place? If it's one of those things with a challenge phrase or a link that has to be clicked to "approve yourself" before the email goes through, then it's next to impossible to do it ... unless you want to send mail directly via sockets, parse out the output to find the link, simulate a click, use "GD" to try and decipher the image, remotely post a form.... ugly stuff.
|
 |
langard
Joined: Dec 15, 1999
# Posts: 339
|
Posted: 2004-Jul-09 22:57
We've made adjustments to the Spam Blockers over the last year by making sure the headers contain a specified MIME type (text/plain or text/html), a message id and are sent from a legitimate return address(instead of being changed with the -f function).
SpamAssassin, for instance, now ranks incoming messages a 0.5 (out of 5) instead of exceeding the limit.
|
 |
jcokos
Staff
Joined: Eons Ago
# Posts: 171
|
Posted: 2004-Jul-10 01:03
It's not so much the "detection" of spam that I was referring to, but rather the verification thing that so many are now putting you through.
|
 |
NEntropy
Joined: Dec 08, 1999
# Posts: 1117
|
Posted: 2004-Jul-11 01:24
Email can be extremely finicky - see if what kind of output the Spam Guards are generating when you send your emails through them - it might be things as simple as lack of header or timestamp format.
If the Spam Guards require challenge / verification step inbetween (ones that John is referring to), the you might be able to get your address or server whitelisted so that it wouldn't have to go through the spamguards.
|
 |
langard
Joined: Dec 15, 1999
# Posts: 339
|
Posted: 2004-Aug-03 22:34
You might try this for starters to see if it gets through. The following code will make it through SpamAssassin at the server level and Norton System Works at the local level if you're sending text messages. HTML messages require additional Boundary definitions. Attachments are a downright ugly proposition to Spam Guards...so it depends upon what you're sending too.
By the way, I just noticed the posted version of the code below stripped the backslashes (escapes) preceding the newline "n"s...You'll have to put 'em back in on your own.
<?
// some local variables
$from_name = "Your Name";
$from_email = "you@yourdomain.com";
$to_name = $Recipient_Name;
$to_email = $Recipient_Addr;
$subject = "Test e-mail capability";
// headers need to be in the correct order...
$headers = "From: $from_name<$from_email>n";
$headers .= "Reply-To: <$from_email>n";
$headers .= "MIME-Version: 1.0n";
// the following must be one line (post width too small)
$headers .= "Content-Type: text/html; charset="iso-8859-1"; Content-Transfer-Encoding: quoted-printablen";
$headers .= "X-Sender: $from_name<$from_email>n";
$headers .= "X-Mailer: PHP4n"; //mailer
$headers .= "X-Priority: 3n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <$from_email>n";
$message = "Whatever you have to say";
// send the message
mail("$to_name<$to_email>", $subject, $message, $headers);
?>
[ Message was edited by: langard 08/03/2004 02:46 pm ]
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|