Lets keep things on the list! Ian Lin wrote: > Jim Lucas, > > Thank you for your advise! > > It is not necessarily crucia that I use the mail() function, but that > is what I usually use when writing email scripts for my clients because > thier servers all support it. I am a web designer and would like to be > able to test these scripts on my server before moving the files to the > customer's server. However if it is going to be a mjor pain in the rear > to get the php mail() function to work, I still need some way to send > emails from php scripts for my own sites, So what solution would you > reccomend I try first? > > > > > > > --- On Mon, 12/15/08, Jim Lucas <lists@xxxxxxxxx> wrote: > From: Jim Lucas <lists@xxxxxxxxx> > Subject: Re: new xampp server problem w/mail > To: linian11@xxxxxxxxx > Cc: "php-general@xxxxxxxxxxxxx" <php-general@xxxxxxxxxxxxx> > Date: Monday, December 15, 2008, 7:49 PM > > Ian Lin wrote: >> hi I have been searching for a way to get the php mail function to work > and have had no luck. I was hoping you could address my situation: >> >> I have a fairly new xampp install and I need to know how to get mail() to > work. I would like to know tha simplest way possible to get the mail function to > work. I guess the major problem is that my xampp install doesn't have an > email server. please advise my what I need to do to get one for a linux box. >> >> Please keep in mind that I am a newbie and need detailed instructions for > installing any software and configuring any files that may need altered in the > server's configuration files such as php.ini etc... >> >> email me at linian11@xxxxxxxxx if you can help. >> >> Thanks, >> Ian > > Why is it a requirement to use mail() ?? Why not use a package like phpmailer > or some such email lib? > I would integrate a email lib like phpmailer [1] or swiftmailer [2] so that it is surely to work from 99.9999% of the web hosts. All you need is an outside POP3/SMTP service that allows you to send email and your good to go. 1. http://sourceforge.net/projects/phpmailer/ 2. http://sourceforge.net/projects/swiftmailer/ -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php