Interchange Developer Resource


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

Re: [mv] MV3 simple question



Quoting cfm@maine.com (cfm@maine.com):
> On Tue, Nov 06, 2001 at 09:08:02AM -0500, Mike Heins wrote:
> > Quoting Victor Nolton (ven@pragakhan.com):
> > > >How do I automatically send a note to someone after
> > > >they've ordered something from a Minivend catalog?
> > > 
> > > I always thought this was done by a perl routine in the receipt.html file.
> > > 
> > > 
> > > [set name=email_copy_sent interpolate=1][perl arg=sub interpolate=1]
> > > 	form_mail(
> > >              q{[value email]},
> > >              q{Your Order [mv_order_number]},
> > >              q{Customer Service <orders@yourdomain.com>},
> > >              <<'EndOfMail')
> > > 
> > > whatever you want it to say
> > > 
> > > EndOfMail
> > > [/perl][/set]
> > 
> > Nope, that went out with Minivend 3.
> 
> Not for those of us in the retro set.  (You missed subject)  :-)

Then I recommend getting the email.tag file from Interchange
4 and using that (it should work unchanged unless we are talking 
pre-Minivend-3.08). Then you don't need that form_mail() monstrosity
and can replace it with [email from=addr to=addr subj=subj]BODY[/email].

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
_______________________________________________
Minivend-users mailing list
Minivend-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: