Re: Help !! Mail Function Problem (Newbie)

From: Date: Wed, 16 Jan 2002 18:21:43 +0000
Subject: Re: Help !! Mail Function Problem (Newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80776@lists.php.net to get a copy of this message
Hi Simos, > mail(simos@foo.com, "Subject", "Line 1\nLine 2\nLine 3"); > thewall sendmail[4513]: g0H10I604513: from=apache, size=0, class=0, > nrcpts=0, relay=apache@localhost I am not sendmail expert, so i am just guessing. the nrcpts=0 in your log message might be stands for "number of recipients", and it is showing 0. So maybe you should pass the email address in proper string (enclose it inside quote), like this: mail("simos@foo.com", "Subject", "Line 1\nLine 2\nLine 3"); -- Jimmy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The past is present in the future

« previous php.general (#80776) next »