MiniVend Akopia Services

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

form_mail example



******    message to minivend-users from "Russ" <russ@khouse.org>     ******

Hello,

I'm using the example found on
http://www.minivend.com/minivend/faq/06.12.How_can_I_send_an_email_copy_of_.
html
The Global Sub is successfully declared in minivend.cfg, but I can't get any
Emails to be sent with it, using the example.

Where do I put the [per arg .... /perl] code?  I've tried putting it in the
report.html (as per instructions), reciept.html, and checkout.html pages.
How do I get this function to run?  Is there a specific part of the page it
needs to go in?


Thank you,
Russ


-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Frank Miedreich
Sent: Wednesday, January 20, 1999 12:53 AM
To: minivend-users@minivend.com
Cc: Ryan
Subject: Re: can't pass arguments to Global subroutines ?


******    message to minivend-users from Frank Miedreich <miedreich@acm.org>
******

Hi Ryan

here is an excerpt from one of my pages using form_mail, you may want to
compare it to whatever it is you are doing:

--- snip ---
[perl arg=sub
interpolate=1]form_mail('adresseintrag@pc-mall.de','Adresseintrag in der
pc-mall: [scratch type]','[value email]', <<ENDOFMAIL )

Adresseintrag

lotsastuff

ENDOFMAIL
[/perl]
--- snip ---

Hope this helps, works for me.

Frank

>******    message to minivend-users from Ryan <rps@williams.com>     ******
>
>Hello. I am trying to use an auto responder sub, (the form_mail example)
>and I can not get any values to pass to the sub.
>
>I am passing some literals like form_mail('test','test2','test3', 'etc');
>
>One of the lines in the sub routine says:   return "no receipient" unless
$to;
>and every time I call the sub I see "no receipient" on the calling page...
>
>I know its not a problem with the email address not being entered,
>because I'm not even trying to use  [value email] yet, just a literal
>string with my email address in it, or just a word, anything to
>pass the "unless $to" test. But it always fails.
>
>I tried returning @_, its value was 0, showing that there were
>no arguments passed to the subroutine. What am I doing wrong?
>
>Thanks a lot for any help.
>
>-Ryan

--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: