From: David L. <lio...@co...> - 2006-03-01 21:06:54
|
Thanks, Matthew -- Matthew Gregg wrote: > It is possible but you need to edit some code. Edit line 797 or so in > admin/include/lib/espresponse.inc. Changing: > return(mail($email,$subject,$body,$headers)); > to > return(mail($email,$subject,$body,$headers,'- fe...@fo...')); > Replace em...@fo... with a valid "from" address. Just to clarify, what worked is this (misplaced space in the line above): return(mail($email,$subject,$body,$headers,'-f em...@fo...')); Interestingly, the sender address shown to the recipient of this e-mail is not the one I typed in, namely lio...@co..., but this one: phpESP 1.7-rc2 <ph...@ma...>, where the program is running. The main point is that this did solve the problem and got the mail past the smtp filters. Thanks! > > This should be a configurable item in phpESP.ini. Could you also post > a feature request for this on Sourceforge. Done. Best, Dave > > > > On 2/28/06, *David Liontooth* <lio...@co... > <mailto:lio...@co...>> wrote: > > > In the Survey Design form is an option to enter an e-mail address and > get a copy of each survey submission. On my system, the sender e-mail > <www-data@machine> isn't recognized by the local smtp server and > bounces. Is it possible to set the value of the sender address > somewhere > in phpESP? > > Dave > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> > _______________________________________________ > phpESP-general mailing list > php...@li... > <mailto:php...@li...> > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > > > -- > D'oh! |