DNS problem resolved now there is one more problem, the mail I am sending from php mail() function is being reported as the spam, on yahoomail and rediffmail
Here is the
php code to send mail
PHP:
<?php
$to = "example@yahoo.co.in";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "admin@oceanwap.co.cc";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
And the are the headers recieved at yahoo
From
admin@oceanwap.co.cc Sat Apr 17 05:37:01 2010
X-Apparently-To:
example@yahoo.co.in via 203.104.16.35; Sat, 17 Apr 2010 11:07:06 +0530
Return-Path: <oceanwap@chopin.x10hosting.com>
X-YahooFilteredBulk: 173.236.28.162
X-YMailISG: ljPdOrgWLDty9peY1RW2XDn4ymS0fHrC_EikaNr99ve0T.tsm0onbIGZTNSpMzE4gMpIiKRbmo8SguCOeWgeO.mxW2eEnRutRnTw19N6gzPbBsvUhpnbnCbDz5M9ay09eQBrJAeR4hjvWnfoCUlZWi88tmxILCCRsRrwMi3zD1vP_WNbspOhWNfiY3Erhg.l8LnjK.m.qBClvrLMYFPhTiq.1J43n9dWJ_tMv45nq1qFMk5zeZXTdxcoszf.D2SAZacPF2KlQWFpT.a7TddiL8g7f4q812N05mtH13_W7zE-
X-Originating-IP: [173.236.28.162]
Authentication-Results: mta179.mail.in.yahoo.com from=oceanwap.co.cc; domainkeys=neutral (no sig); from=oceanwap.co.cc; dkim=neutral (no sig)
Received: from 173.236.28.162 (HELO outgoing.x10hosting.com) (173.236.28.162)
by mta179.mail.in.yahoo.com with SMTP; Sat, 17 Apr 2010 11:07:06 +0530
Received: (qmail 25816 invoked by uid 508); 17 Apr 2010 05:37:03 -0000
Received: from 10.33.249.3 by outgoing.x10hosting.com (envelope-from <oceanwap@chopin.x10hosting.com>, uid 507) with qmail-scanner-2.08st
(clamdscan: 0.96/10751. spamassassin: 3.3.1. perlscan: 2.08st.
Clear:RC:1(10.33.249.3):SA:0(-1.0/3.0):.
Processed in 1.325618 secs); 17 Apr 2010 05:37:03 -0000
X-Spam-Status: No, hits=-1.0 required=3.0
Received: from unknown (HELO chopin.x10hosting.com) (10.33.249.3)
by outgoing.x10hosting.com with SMTP; 17 Apr 2010 05:37:02 -0000
Received: from oceanwap by chopin.x10hosting.com with local (Exim 4.69)
(envelope-from <oceanwap@chopin.x10hosting.com>)
id 1O30iD-000804-Jn
for
example@yahoo.co.in; Sat, 17 Apr 2010 01:37:01 -0400
To:
example@yahoo.co.in
Subject: Test mail
From:
admin@oceanwap.co.cc
Message-Id: <E1O30iD-000804-Jn@chopin.x10hosting.com>
Date: Sat, 17 Apr 2010 01:37:01 -0400
Content-Length: 39
How this problem can be resolved?