note 35384 added to ref.mail

From: Date: Fri, 29 Aug 2003 10:20:47 +0000
Subject: note 35384 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-55284@lists.php.net to get a copy of this message
[Recently realized a flaw in my previous note related to sending mail using ArGoSoft Mail Server. Only the IP 127.0.0.1 should be used to relay, otherwise others may anonymously send spam mails using that IP. So, here is the improved note about the stuff] For Windows users who work on local machine: If you want to send emails from your local machine you can try ArGoSoft Mail Server ( http://www.argosoft.com/applications/mailserver/ ) Step1: 1. Install ArGoSoft Mail Server 2. Open the ArGoSoft Mail Server and click Tools > Options to configure. 3. Enter the DNS server name or let the ArGoSoft Mail Server to auto-detect. 4. In the IP Homes tab, enter 127.0.0.1 5. Start (run) the ArGoSoft Mail Server and make sure there is no error. 6. Now, the "localhost" (127.0.0.1) is your SMTP & POP3 server. Step2: 1. Open your php.ini 2. Enter the value of SMTP like SMTP = localhost That's all! Do not trust "sendmail_from" of php.ini. Always set headers parameter in mail() function. HTH, R. Rajesh Jeba Anbiah ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35384 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35384&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35384&report=yes

« previous php.notes (#55284) next »