Need urget Help, Flash + php

  • montyt
  • Proficient
  • Proficient
  • User avatar
  • Posts: 275

Post 3+ Months Ago

I guys i need urget help abt this.

"Send this page to your friend."

I have made similar function in flash + php. this works fine but the problem is in php. When the i receive a mail it shows the "spam mail". When i enter my "hotmail" account that mail goes to the "junk mail", not in inbox.

does any one what do edit to php, so that it doesn't goes as "spam mail"

thanks for ur time :)
my php code
Code: [ Select ]
<?php
$sendTo = $message;
$subject = "Contact";
$sender = "sender :".$_POST["email"]."\r\n";
$headers = "From: " . $_POST["name"]."\r\n";
$message = "Mail_To : ".$_POST["message"]."\n\n";
$message .= "Sender Name : " . $_POST["name"]."\n\n";
$message .= "URL : http://www.google.com". "\n\n";
$message .= "comment : ".$_POST["contnt"]."\n\n";
mail($sendTo, $subject, $message, $headers, $sender);
print 'success=true';
?>
  1. <?php
  2. $sendTo = $message;
  3. $subject = "Contact";
  4. $sender = "sender :".$_POST["email"]."\r\n";
  5. $headers = "From: " . $_POST["name"]."\r\n";
  6. $message = "Mail_To : ".$_POST["message"]."\n\n";
  7. $message .= "Sender Name : " . $_POST["name"]."\n\n";
  8. $message .= "URL : http://www.google.com". "\n\n";
  9. $message .= "comment : ".$_POST["contnt"]."\n\n";
  10. mail($sendTo, $subject, $message, $headers, $sender);
  11. print 'success=true';
  12. ?>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • dhonsvick
  • Beginner
  • Beginner
  • dhonsvick
  • Posts: 49

Post 3+ Months Ago

I don't believe flash would be at fault for this, Few things to Check.

1) Check Spamhaus to see if your servers IP/subnet address has been abused before.

2) Make sure you have reverse DNS setup for that server. A Good way to test this is to send to a Comcast email or an Aol address and see if you get a refusal message at your from address.

3) Spam filters generally work from a Score Value - Each thing it finds questionable will add to the score, after a certain threshold it will be sent to the Spam filter or rejected.

4) If you have this setup where the from email address is the Senders and the To address is the recipients - this might cause for alarm because not one address sent through this server is resident on this network via reverse DNS.

5) Have this system send you a message and Check the headers. I suspect you might find some additions to the headers that state that the email originated from Apache. Compare the headers against other emails from your outlook message program - See how close you can structure to those (without falsifying information which is illegal). a lot of the Scoring is done by the headers.

Just a few thoughts, perhaps someone else has something to add. Email is a very abused mode of communication, as so the rules change everyday and it's a nightmare to guarantee delivery anymore.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 10 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.