Posted by Mike on 01/26/06 17:13
I have the following:-
<?php
$to = "mike@mjfcadsolutions.co.uk";
$subj = "Test";
$mess = "This is a test message";
mail($to,$subj,$mess);
?>
I'm running it locally to test. I have changed the php.ini file as
follows...
[mail function]
; For Win32 only.
SMTP = mail.btinternet.com
; For Win32 only.
sendmail_from = mike@mjfcadsolutions.co.uk
; For Unix only. You may supply arguments as well (default: "sendmail
-t -i").
;sendmail_path =
Heres the error...
Warning: mail() [function.mail]: SMTP server response: 530
authentication required - Your email could not be sent. To fix this you
must make a simple change to your email (known as SMTP authentication).
For advice visit www.btyahoo.com/smtp or call 0800 328 9968 in
C:\wamp\www\yourlifelog\email.php on line 6
I've set the authentication for use in Outlook but how can I do this
for scripts?
Thanks
Mikee
Navigation:
[Reply to this message]
|