quick qstn - mail function

From: Date: Fri, 23 Jun 2000 04:50:22 +0000
Subject: quick qstn - mail function
Groups: php.general 
Request: Send a blank email to php-general+get-2733@lists.php.net to get a copy of this message
hi I just have a quick question (i hope). I'm trying to set up a mailing list subscription page. I'm using the following variables: $mail_address -> where to send the subcription request (ie. majordomo@my.domain.com) $mail_subject $mail_list -> the name of the mailing list $mail_reply_address -> the address of the person seeking to be subcribed ... I've echoed the variables through the action page and everything comes through fine. I'm trying to use the mail() function to send the subcription request to majordomo (which also seems to be formed correctly), the code is: $errormesg=mail($mail_address, $mail_subject, "subscribe " . $mail_list . " " . $mail_reply_address); ... but I'm getting the following message back from majordomo: "MAJORDOMO ABORT (mj_majordomo)!! majordomo@apipli.murdoch.edu.au : www-data <apache> is not a valid return address." .... any ideas would be greatly appreciated. tks Andrew ------------------------------------------------- Andrew McRobert LLB B.Sc(Comp. Sci) IT Officer, School of Law MURDOCH UNIVERSITY Perth, Western Australia Ph: [+61 8 9360 6479] Fax: [+61 8 9310 6671] e-mail: mcrobert@central.murdoch.edu.au "The lottery: a tax on people who are bad at math"

« previous php.general (#2733) next »