In your script, add this to the header: "From: <email address>\r\n"
That's an argument for the php mail function: mail(<to>, <subject>, <message>, <headers>); HTH PS Isn't this off-topic? hehe nhadie ramos wrote: > Hi Sir, > > I tried that but still it's sending it from > [EMAIL PROTECTED] Any idea sir what id did wrong? by the > way I'm using qmail on this server, does that have an effect on php? > > pls see header below. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 1059 invoked by uid 514); 19 Jun 2005 07:31:25 -0000 > Received: from [EMAIL PROTECTED] by lakers by uid 503 with > qmail-scanner-1.21 > (spamassassin: 2.63. Clear:RC:1(127.0.0.1):. > Processed in 0.025502 secs); 19 Jun 2005 07:31:25 -0000 > Received: from localhost (HELO localhost.localdomain) (127.0.0.1) > by mail.mailserver.com with SMTP; 19 Jun 2005 07:31:24 -0000 > Received: (from [EMAIL PROTECTED]) > by localhost.localdomain (8.12.11/8.12.11/Submit) id j5J7VOXP001052; > Sun, 19 Jun 2005 15:31:24 +0800 > > > On 6/19/05, AJ Batac <[EMAIL PROTECTED]> wrote: > >>On 6/19/05, nhadie ramos <[EMAIL PROTECTED]> wrote: >> >>>One of our clients are blocking that e-mail, how can I send the form >>>using a real e-mail? >> >> >>edit your php.ini file and find the following: >>sendmail_from = [EMAIL PROTECTED] >>sendmail_path = /usr/sbin/sendmail >> >>change [EMAIL PROTECTED] to a real email e.g. [EMAIL PROTECTED] >> >>AND >> >>change your form script mail() to: >>mail($mailto,$subject,$content,"From: [EMAIL PROTECTED]"); >> >>hth, >> >>-- >>-- aj >>~~~~~~~~ >>pusit.friendster.com >>phpugph.com >>techhive.net >> >> >> >> >> >>_________________________________________________ >>Philippine Linux Users' Group (PLUG) Mailing List >>[email protected] (#PLUG @ irc.free.net.ph) >>Read the Guidelines: http://linux.org.ph/lists >>Searchable Archives: http://archives.free.net.ph >> >> > > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > [email protected] (#PLUG @ irc.free.net.ph) > Read the Guidelines: http://linux.org.ph/lists > Searchable Archives: http://archives.free.net.ph > -- eman http://www.bloodpet.tk/ gpg --keyserver pgp.mit.edu --recv-keys 4C683E4C Registered Linux User #287022 +63(2)455-3222 /home/eman $ man women No manual entry for women
signature.asc
Description: OpenPGP digital signature
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

