E-mail problem

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

Hi, wich software of e-mail is good for the script S-Mart on Winnt server. I have try with Mailto and Sendmail and was not able to use S-Mart. I don't understand the command: open(MAIL,"|$mailprog -t ");

Please help me !

Thank you

Antonio Rinaldini

-- Antonio Rinaldini (listing@mbx.clicnet.it), September 14, 1999

Answers

$mailprog is defined early in the script (I don't remember if it is defined in smartcfg.cgi). It must be the full path to whatever mail program is on your server (sendmail for example). You must find it on your server and type in the proper path.

Then open(MAIL,"|$mailprog -t ") opens a connection to the mail program and writes the message to it. When you close(MAIL), the message is sent.

Hope this helps

Roy Lingen http://www.lingens.com S-mart up and running in the "Coverbox".

-- Roy Lingen (rlingen@speedline.ca), September 16, 1999.


Moderation questions? read the FAQ