Page 1 of 1

New Project, PHP/Mail Daemon Question.

Posted: Thu Nov 07, 2002 9:39 am
by seg
I am getting ready to begin a new project for my company. I will be writting a crap load of new tools and forms for an internal website. As it looks right now, I'm going to be using Win2k, Apache, PHP and MySQL. I'm new to MySQL (never used it before) and I will need to use the mail() function in PHP. I have never used mail() in PHP before, I'm only familiar with the mail funciton in CGI for a unix box. I am assuming I will need to install some sort of sendmail daemon on the Win2k server, but honestly I don't know where to start looking for good ones. I'm staying away from IIS completly.

If I do need a seperate mail daemon, could you guys recommend some or point me in a direction where i can learn more about them.

Thanks
-seg

Mercury Mail

Posted: Thu Nov 07, 2002 12:57 pm
by LetterJ
Without question, I would go with Mercury Mail from the makers of Pegasus (the email client).

It can be set up as a simple SMTP server, but can also be a POP3 or IMAP server. Basically, it can handle the entire email chain of tools that you're used to on UNIX. It is a fetchmail/procmail/sendmail etc all rolled into one for Windows. For people behind port 25 blocking ISP's, it can relay mail through another SMTP server and can do POP3 before SMTP if necessary using your ISP login.

I have it set up both as my home server's connection to the email world through the mail() function as well as a central mail hub. It pulls in the mail from 6 POP3 accounts into one IMAP account that I access using SquirrelMail on my web server. The short description is that I have IMAP-based webmail for all my accounts with only port 80 open on my home firewall.

Posted: Tue Jan 06, 2004 8:31 pm
by k_a_a
Maybe you want to use PHPMailer class. You can search this in Sourgeforge or in phpclasses.org. The class will make your life easier in sending out mails.