Re: testing mail() function from my pc

From: laidbak (laidbak69_at_hotmail.com)
Date: 01/10/04


Date: Sat, 10 Jan 2004 09:46:57 GMT

>what is the easiest way to set it up so i can send email's using the mail()
>funtion

You do not have to run a mail server... in your php.ini set these lines:

[mail function]
; For Win32 only.
SMTP = mail.example.com

; For Win32 only.
sendmail_from = myname@example.com

Make sure these are correct values and you have relay access to the server
you typed into SMTP.

If you are running IIS on windows you would send this to "localhost" as long
as you have the smtp service running.

-- 
Wil Moore III


Relevant Pages