mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
ff7c981d19
A properly configured email server was generating bounce emails when running the test.
21 lines
437 B
PHP
21 lines
437 B
PHP
--TEST--
|
|
Bug #72463 mail fails with invalid argument
|
|
--SKIPIF--
|
|
<?php
|
|
if(substr(PHP_OS, 0, 3) == "WIN") {
|
|
die('skip not for windows');
|
|
}
|
|
?>
|
|
--INI--
|
|
sendmail_path="echo >/dev/null"
|
|
--FILE--
|
|
<?php
|
|
|
|
mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", "");
|
|
mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECTREGEX--
|
|
.*===DONE===
|