PHP Mail, ANNOYING problem

naz2k6

Verified User
Joined
Aug 21, 2006
Messages
12
Hi, I'm sure everyone else has had this problem at some point, when sending mail with PHP it goes directly to spam on almost all or most email providers such as gmail, hotmail e.t.c.

Has anyone found a solution to this problem and if so could they please let me know!

PS i know my server ip is definetly not a spam ip.
 
I found the solution:

Create the A record with the hostname and problem solved :)
 
Do you mean server hostname

so it would be like this:

server.servername.com. A and then IP address?

i'm sending emails off a domain that is not in the server hostname though.
 
You need an A record, and reverse IP, for your server to match to the hostname. Unless you've changed settings in exim.conf, email is always sent from the server hostname.

The A record should be set up in the main zonefile for the domain name. The reverse IP (PTR record) usually is set up by your upstream provider as most of them don't delegate reverse IP resolution to you.

Jeff
 
Ok thats made it a lil bit more clearer but still i'm confused.

Can anyone give me a step by step tutorial on this? I really don't get what I have to do exactly.
 
I can't give you a tutorial because you never told us what domain you were writing about and so I don't know where/how you host any of the details.

Look here.

Jeff
 
Ok lets pretend:

my servers hostname is server.example.com and the domain i want to send emails from is myweb.com

now what? :p
 
Let's not waste anymore time pretending.

If your server hostname is really server.example.com, then fix it and make it something you own, and which does resolve on the 'net.

example.com is a reserved name on the Internet; using it anywhere will cause problems.

While you may own myweb.com, it runs on a Windows server.

Since there's no way to run any diagnostics with what you've posted, all you're doing is wasting our time.

And if I don't run diagnostics then I have no idea what needs fixing.

I can accept that you don't want to tell us anything about your domains. Since you've read the link I posted, I must presume it's because you don't want help.

Perhaps someone else will help you anyway, but I won't, since you don't seem to want any.

You must realize it takes time for me to write a how-to. And my time is valuable to me.

Jeff
 
I think it's obvious I need help if I'm on a help forum?

server hostname is server.bitz.ws and the domain i'm trying to send emails off is also bitz.ws

I'd really appreciate it if you could help me out.
 
could you please create A record for server.bitz.ws to poin to 8.14.147.194

and also do get a reverse DNS record setup for 8.14.147.194 to point to server.bitz.ws
 
Ok I have attached the dns zone record for bitz.ws, can anyone help further?
 

Attachments

  • help.JPG
    help.JPG
    98 KB · Views: 153
Back
Top