Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

note 35384 modified in ref.mail by vincent

30 views
Skip to first unread message

vin...@php.net

unread,
Aug 29, 2003, 6:41:28 AM8/29/03
to php-...@lists.php.net
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

--was--
[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

http://www.php.net/manual/en/ref.mail.php

0 new messages