Skip to Content

PHP

Return-Path Header For Mail Coming From PHP's mail() Function

Posted in

By default, mail sent using the PHP mail() function will contain an envelope sender address consisting of the server's fully qualified domain name (FQDN). This can cause mail originating from apps like Drupal or MediaWiki that use PHP mail() for notifications to be filtered by mail servers rejecting sender domains not having an MX record.

Syndicate content