Dominor Novus
Dominor Novus

Reputation: 2268

PHP email header for reverse DNS

Context:

I've recently had my host set up reverse DNS (and PTR) to prevent my PHP generated emails from being interpreted as spam.

My questions:

  1. Is there a specific PHP mail header that I should be using for the reverse DNS to take effect?
  2. Is reverse DNS dependent on DKIM and SPF being enabled?

Upvotes: 0

Views: 383

Answers (1)

user149341
user149341

Reputation:

  1. No. Reverse DNS has nothing to do with mail headers, and everything to do with the IP address that sends the messages.

  2. No. But having those set up will help you too.

Upvotes: 1

Related Questions