Have this bit of code, ..to test my mailing capability. I wish to email back to my local computer into outlook express.
<?php
mail("crawfd@yahoo.com", "Testing PHP Mail", "This is a test of the PHP mail functions") ;
?>
I load the file above and browser freezes and takes awhile for a 'could not connect' response.
So naturally I have edited my php.ini file to the following scenerios:
[mail function]
; For Win32 only.
SMTP = mail.yahoo.com
; For Win32 only.
sendmail_from = crawfd@yahoo.com
; For Unix only. You may supply arguments as well (default: 'sendmail
-t -i').
;sendmail_path =
______________________________-
and have tried ................
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = crawfd@yahoo.com
; For Unix only. You may supply arguments as well (default: 'sendmail
-t -i').
;sendmail_path =
Nothing works! I also unchecked 'My server requires authentication' for outgoing mail in outlook server options but I think that has nothing to do with the issue I'm having.
Anyone have any ideas or suggestions? Thanks
Running Apache 1.3.23 and PHP 4.1.1