bug72463_2.phpt 435 B

1234567891011121314151617181920
  1. --TEST--
  2. Bug #72463 mail fails with invalid argument
  3. --SKIPIF--
  4. <?php
  5. if(substr(PHP_OS, 0, 3) != "WIN") {
  6. die('skip windows only');
  7. }
  8. ?>
  9. --INI--
  10. SMTP=non.existent.smtp.server
  11. --FILE--
  12. <?php
  13. mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", "");
  14. mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
  15. ?>
  16. ===DONE===
  17. --EXPECTREGEX--
  18. .*===DONE===