|
Posted by Jaymes on May 16, 2007, 3:20 pm
Please log in for more thread options
>
>
>
>
>
>
> >I have a pl script that runs on a server that triggers bmail to send
> > several emails. I cannot figure out where bmail is getting its
> > parameters . It is the transmit command that is triggering the event
> > but where are the parameters coming from?
> > Here is the script
>
> > use strict;
> > use CGI ':standard';
>
> > #External perl functions are referenced here.
>
> > require 'extsub.pl';
>
> > my $filename = param('filename');
> > my $office1 = param('office1');
> > my $office2 = param('office2');
> > my $client = param('client');
> > my $techmail = param('techmail');
> > my $tech = param('tech');
>
> Looks to me that the parameters are coming from a user who is filling out a
> webform that enables him to specify the 'filename', 'office1', 'office2',
> 'client', 'techmail' and 'tech' parameters. Those user-defined parameters
> then get assigned to (respectively) $filename, $office1, $office2, $client,
> $techmail, $tech.
>
> I think that answers the question you asked .... does it answer the question
> you *intended* to ask ?
>
> .> transmit($filename, $office1, $office2, $client, $techmail);
>
> .
Fixed it. Thanks!
Jaymes
>
> > I need to change the mail server.
>
> I surmise that it's transmit() that fires up bmail - and that the transmit()
> function is defined in 'extsub.pl'. That being so, you need to change the
> transmit() function in extsub.pl so that it fires up the mail server of your
> choice instead of bmail.
>
> Cheers,
> Rob- Hide quoted text -
>
> - Show quoted text -
|