Hi Nils, Our wiki is on a company intranet. We want to use the emailform as a "feedback" type device to allow users to comment about issues or enhancement requests etc in the wiki. The users have requested that they would like a cc of the form for their records.
Thanks for your advice/comments on spamming - we'll take this into consideration before making this change. Regards, Graham N Knappmeier wrote: > Graham Archer schrieb: >> Hello, >> >> Is it possible to allow the submitter of an emailform (using >> emailform.php) to >> be copied the mail form they send? > I wouldn't suggest that, because this would allow spammers to abuse > the form arbitrarily. > With the current version, the mail-receiver is restricted to an adress > configured by the wiki administrator. > With your requested feature anyone could send arbitrary mail to anyone > via your mail server. > There is a good reason that open relays are put on blacklists and that > mailing-list engines always send a > mail with a confirmation code before subscribing someone. > > However, if you really want to do it: Line 129 > > $headers .= "From: $from\r\n"; > > sets the From-Header of the mail. If you add another line > > $headers .= "CC: $from\r\n"; > > just below the first one. This should put the sender on CC. > > > Nils _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
