Perhaps this article is useful: http://www.davidhurst.co.uk/2007/06/19/php-mail-and-ssmtp-on-debian-linux/
-- *Alsjeblaft!* webdevelopment Stuff I've built: wende.nu, sizzer.nl, happycampermusic.com, dazzledkid.com , arthurjussen.nl, schradinova.nl, roomeleven.nl & studiopino.nl ap...@alsjeblaft.nl http://www.alsjeblaft.nl/ On Fri, Mar 16, 2012 at 4:41 PM, Peter Lehrer <pleh...@gmail.com> wrote: > I think my problem is I don't have sendmail installed. > > Peter > > On Fri, Mar 16, 2012 at 11:29 AM, David Mintz <da...@davidmintz.org> > wrote: > > > > > > On Fri, Mar 16, 2012 at 9:11 AM, Peter Lehrer <pleh...@gmail.com> wrote: > >> > >> Hi, > >> I am trying to get the php mail function to work. I have a website > >> running Apache2 and PHP Version 5.3.3-7+squeeze8 on Debian. I tried to > >> get a test email message working. Here is my code: > >> > >> <?php > >> $to = "pleh...@gmail.com"; > >> $subject = "Test mail"; > >> $message = "Hello! This is a simple email message."; > >> $from = "pleh...@me.outlook.com"; > >> $headers = "From:" . $from; > >> mail($to,$subject,$message,$headers); > >> echo "Mail Sent."; > >> ?> > >> > > > > What platform are you on? What do the relevant php.ini settings look > like? > > > > http://www.php.net/manual/en/mail.configuration.php > > > > -- > > David Mintz > > http://davidmintz.org/ > > It ain't over: > > http://www.healthcare-now.org/ > > > > > > > > _______________________________________________ > > New York PHP User Group Community Talk Mailing List > > http://lists.nyphp.org/mailman/listinfo/talk > > > > http://www.nyphp.org/show-participation > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation >
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation