How to change senders eMail address within receipt ?

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hi,

my question dependes on how the receipt mail arrives at the user who ordered something.

Isn't it possible to change the variable from the -# send to receipt- part of the script shown here within the whole line

print MAIL "From: $FORM{'recipient'}\n"; to:

print MAIL "From: kontakt@avp-net.de\n";

How can I solve this ? I tried it like this, but it doesn't work.

Second try was

print MAIL "From: 'kontakt@avp-net.de'\n";

but also it didn't work.

I don't want the user to see the true mail address the order is sent to.

Thanks before. Greetings from Mich

-- Michael Franke (mesle@gmx.de), July 10, 1999

Answers

I fixed it for myself.

Posting here just for other people needing this:

print MAIL "From: kontakt\@avp-net.de\n";

-- Michael Franke (mesle@gmx.de), July 10, 1999.


Moderation questions? read the FAQ