Re: Need assistance using sendmail or mail()

From: Date: Thu, 31 Jan 2008 22:17:44 +0000
Subject: Re: Need assistance using sendmail or mail()
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-268502@lists.php.net to get a copy of this message
On Thu, January 31, 2008 11:44 am, philip wrote: > > > Nathan Nobbe wrote: >> On Jan 30, 2008 2:47 AM, Per Jessen <per@computer.org> wrote: >> >>> Philip, please state what sort of problems you are having. mail() >>> and >>> sendmail are both easy to use from php. >>> And please don't post another 2000 lines of code. No-one is going >>> to >>> read them. >>> >> >> amen to that brother! :) >> >> -nathan > Hi guys, > > I'm new to both this newsgroups and PHP. I need to get the form > submission working by Friday (Feb. 1). Any help with sendmailor mail() > will be appreciated. I didn't read all 200 lines, but the code you posted seemed to have SMTP strewn throughout it. You said you can't use SMTP. So stop using that code. Try this instead: <?php mail('spy_c_xamaican@rogers.com', 'Test', 'Message Body');?> There, you just used mail() with sendmail. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#268502) next »