Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Date: Mon, 09 Jan 2012 18:23:36 +0100 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: Trouble with sending e-mail from simple php script References: <19e29d83-3207-45e8-b63e-f476e7f900cc@u32g2000yqe.googlegroups.com> In-Reply-To: <19e29d83-3207-45e8-b63e-f476e7f900cc@u32g2000yqe.googlegroups.com> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: Lines: 28 NNTP-Posting-Host: 2001:980:9089:1:216:76ff:fee1:aa6c X-Trace: 1326129901 news.xs4all.nl 6974 [2001:980:9089:1:216:76ff:fee1:aa6c]:45317 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:4374 On 07-01-2012 20:01, C wrote: > I have a simple form which is handled in a *.htm file by > >
>
>     Your name    
>     Company  
>     City and country          MAXLENGTH=60 SIZE=50>
>     Your e-mail address    SIZE=50>
>     Your message          
>                           
> 
>
> > Then the send_msg.php should send the e-mail by the following code > (but does not send e-mail). What am I doing wrong? > > $date = date("F jS Y, h:iA"); > if ($name == "" && $question == "") {exit;} What do you expect that this last line does do? -- Luuk