New Project, PHP/Mail Daemon Question.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
seg
Forum Commoner
Posts: 38
Joined: Thu Oct 31, 2002 12:08 pm
Location: Northern, VA
Contact:

New Project, PHP/Mail Daemon Question.

Post 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
LetterJ
Forum Newbie
Posts: 8
Joined: Fri Nov 01, 2002 10:57 am
Location: St. Paul, MN

Mercury Mail

Post 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.
k_a_a
Forum Newbie
Posts: 9
Joined: Tue Jan 06, 2004 8:31 pm

Post 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.
Post Reply