Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mailfunction detected as spam
#1
Hi all,

so here is the code:
PHP Code:
<?php
                        $to 
$_POST["email"];
                        
$name $_POST["name"];
                        
$subject $_POST["subject"];
                        
$message $_POST["message"];
                        
$from $_POST["from"];
                        
$headers "From: $name <$from>";
                    
mail($to,$subject,$message,$headers);
                    echo 
"<br><center><div class=greenbox>Email sucessfully sent to $to<br><br></div></center>
                        <br><center><div class=redbox>This is only for education purpose.</div></center><br><br>"
;
                        
?>
Parsed in 0.072 seconds, using GeSHi 1.0.8.4 


We all know why this is detected as spam...but is there any way to play it out?
Reply
#2
Well, what are you sending it from, Like what email address is the sender?
"Death smiles at us all. All a man can do is smile back".
[Image: siggy.png]
MSN: Xzotic@live.com
Reply
#3
What email are you using to send/receive? If it's gmail it detects this type of spammers pretty easily. Same with most top-email providers.
Reply
#4
For sending I use an non existing email "anonymus@gay.com", but I tried with an existing one also.

For recieving I use an existing gmail email to test.

and it is always detected as spam :S


But I am 100% sure this could be fixed somehow.
Reply
#5
Try using a Hotmail e-mail...
[Image: 58iH.gif]
Reply
#6
Ohh forgot to write it but solved already.

Unfortunately my web host picked up to blacklist, that is why it sends mails to spam. :S
Reply
#7
You can mark them as "Trusted".
Try That.
★★★★★
Victoire
- Shock!
★★★★★
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  created a forum, registration mail goes to spam mrlips 4 971 06-06-2011, 07:21 AM
Last Post: mrlips
  html form anti-spam andrewjs18 0 675 03-08-2010, 11:15 PM
Last Post: andrewjs18
  This Link Kills SPAM Grizzly 0 685 12-25-2009, 02:11 AM
Last Post: Grizzly

Forum Jump:


Users browsing this thread: 1 Guest(s)