MiniVend Akopia Services

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

Re: [mv] Counter and Blat problem!



Hi Michael..,
Well i suffer from the same counter problem... so if u solve it please
notify me..., i tried before to post here...
but nobady answered me....

about the blat problem..., I dont know if my solution is acceptble... but
its working..., it appears that for sending
the recepit to the customer, Minivend is using an external function file
called form_mail.cfg which have another -t
inside it... and something else made me some tourbles.... i am adding the
file to this message

----[Form_Mail.CFG]----------------- Begins:
GlobalSub <<EndOfSub
sub form_mail {
    my($to, $subject, $reply, $body) = @_;
    my($ok);

    $subject = '<no subject>' unless defined $subject && $subject;

    $reply = '' unless defined $reply;
    $reply = "Reply-to: $reply\n" if $reply;

    $ok = 0;
    SEND: {
        open(Vend::MAIL,"|$Vend::Cfg->{'SendMailProgram'} $to ") or last
SEND;
        print Vend::MAIL
   $body
            or last SEND;
        close Vend::MAIL or last SEND;
        $ok = ($? == 0);
    }

    if (!$ok) {
        logError("Unable to send mail using
$Vend::Cfg->{'SendMailProgram'}\n" .
            "To '$to'\n" .
            "With subject '$subject'\n" .
            "With reply-to '$reply'\n" .
            "And body:\n$body");
    }
    $ok;
}
EndOfSub
------[Form_Mail.CFG]------Ends....

that's all...., if you need any other help... you are welcome!....,
You better upgrade to service packe 6a, since service pack 5 & 6 are making
some tourbles with IIS
speed....

Bye Bye.
Eran Binyamin Zeitoun.

----- Original Message -----
From: Michael J Quintenz
To: MiniVend
Sent: Wednesday, December 08, 1999 6:29 AM
Subject: [mv] Counter and Blat problem!


I have been working on a sight that I host on a NT4.0sp5 box everything
works great except the counter doesn't change
with orders or at all and when it sends out E-mail to me@mydomain.com it is
fine but the next is supposed to go to the customer but instead it is sent
to -t@mydomain.com this is killing me I have been every where I know that is
the argument for blat. so I set up an account on my E-mail server
for -t@mydomain.com just for kicks and the mail is just the way it is
supposed to be just wrong address.If anyone has seen this behavior please
send feed back.



Thank you,


Michael J Quintenz



Search for: Match: Format: Sort by: