Now this is definately silly
I have
define("SENDMAIL_F_OPTION",true);
define("SENDMAIL_F_OPTION_LINE",__LINE__-1); // don't modify this define("SET_SENDER_FROM_EMAIL",true);
in the formmail.php file.
I have
<input type="hidden" name="email" value="me@me.entadsl.com" />
<input type="hidden" name="mail_options" value="FromAddr=me@me.entadsl.com" />
in the form
and I get
Return-path: <telfordsteamrailway.co.uk@hosts.co.uk>
From: me@me.entadsl.com
Sender: Site Administrator <telfordsteamrailway.co.uk@hosts.co.uk>
Any help appreciated
Allan


Reply With Quote
Bookmarks