MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

How to change email "From" field in order receipt



Hi all

My orders are arriving with the email "From:" field as
"minivend@my.domain.com". I would like to be able to re-define this to be,
for instance, "sales@my.domain.com" or indeed anything else.

I know there has been some correspondence about this already, but I can't
find an answer in the list that works for me, and I wonder if anybody can
tell me the definitive way of doing this.

So far as I can see, the emailing of the orders is done by Util.pm, and the
emailing routine in there doesn't specifically use the "From:" field.

But it does have "my($to, $subject, $body, $reply, $use_mime,
@extra_headers) = @_;" Am I right in thinking that @extra_headers COULD
contain the "From:" field, but if so, how and where would I put the field
and in which page to make it appear there??? (In receipt.html, report.html,
checkout.html, or is it somewhere altogether different?)

I can't presently work out where the send_mail routine in Util.pm actually
gets any of its fields from, anyway!!! Any help much appreciated.

Thanks

Jerry Rodwell
+++++++++++++++++++++++++++++++++++++
websites.uk
Hoo
Woodbridge
Suffolk IP13 7QW
England

internet: http://www.websites.uk.com
email:    studio@websites.uk.com
phone:    +44 (0)1473 737 220
fax:      +44 (0)1473 737 222
+++++++++++++++++++++++++++++++++++++



Search for: Match: Format: Sort by: