Hi Mark,

Yes I agree this does indeed suck, hopefully the developers will squirt out
some code to make it all work *HINT* *HINT*.  But anyway here's what I did
to the email kludge from Robert to get order id# and # of tickets:

 # email kludge ###############

            ############################################################
            # sample routine to send message to admin with billing info

            my $domain = $in{domain};
            my $ticket = $in{ticket};    #my mod to get number of tickets
            my $id = $register_results->{attributes}->{id};    #my mod to
get order id
            my  $reg_type = "New BIZ Domain";
            if ($REG_SYSTEM{F_SEND_ORDERS}) {
                # sample routine to send message to customer
                # THINK: Email & RACE...
                send_email("$path_templates/message.txt",
                          {
                           %in,
                           domain =>  $domain,
                           ticket =>  $ticket,    #ticket mod
                           mailfrom => $in{owner_email},
                           mailto => $ADMIN_EMAIL,
                           id => $id,
                           period_text => $REG_PERIODS{$in{period}},
                           reg_type => $reg_type,
                           });
            }

            # sample routine to send message to customer
            # THINK: Email & RACE...
            if ($REG_SYSTEM{F_SEND_THANKYOU}) {
                send_email("$path_templates/thankyou.txt",
                          {
                           %in,
                           domain =>  $domain,
                           mailto => $in{owner_email},
                           mailfrom => $ADMIN_EMAIL,
                           id => $id,
                          });
            }

            ################################################################



I got an email from Robert and he said that if the Billing info is the same
as the admin (owner) info then it won't pass the billing info to mesage.txt
.  I haven't heard back from him if he ever got owner info passed though....

-Philip

----- Original Message -----
From: "Mark Engelhardt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 4:44 PM
Subject: can you share with me what you did? re 2.41 of opensrs


> I just got an email with a few fields working....
>
>
> Any luck with the rest?  Can you email me what you did to get the order id
> etc, working?
>
> I am raising hell with opensrs because they did not make this work in the
> first place.
>
> This really sux that we each have to hack at it separately.
>
> Mark
>
>
>
> Subject: Re: email conf missing in 2.4.1?
> From: Philip Clever ([EMAIL PROTECTED])
> Date: Tue Jul 24 2001 - 16:53:07 EDT
>
>        sorted by: [ date ] [ thread ] [ subject ] [ author ]
>        Previous message: domreg: "Re: WHOIS script"
>        In reply to: Robert: "RE: email conf missing in 2.4.1?"
>        Reply: Philip Clever: "Re: email conf missing in 2.4.1?"
>
>
>
> Thanks, that works pretty good. It passes domain name, years, and most
> importantly, CC info. I also worked on it and got it to pass the order id
> and # of tickets. But beyond that I can't seem to figure out how to pass
> things like {billing_first_name}. I tried $data->{billing}->{first_name}
as
> the developer had recommended, but no luck. Anyone else hacking away at
> this?
>
>
> ================================================================
> Mark Engelhardt
> IntuitiveISP.com
> 935 Jackson Street
> Benicia, California 94510
> E-Mail:                [EMAIL PROTECTED]
> ----------------------------------------------------------------
>              http://www.intuitiveISP.com
>
>            Domain name registrations $15.00
>            Domain name transfers     $15.00
>            Web Hosting                $9.00
>
> ================================================================
>
>
>
>
>

Reply via email to