I have installed an object oriented perl script (TFmail.) The script provides a mechanism to send an auto-response. One is required to set values in a config file for "confirmation_template", "confirmation_subject", "confirmation_email_from".
The email form report and screen confirmation also have defalult templates which I have successfully altered.
I have set the three values above and created a welcome.trt template in the configs dir. But I cannot figure out what to put in the templare so that it cooperates with the script to send my text.
In the script there is sub routine:
=item send_confirmation_email ( TREQ, CONFTO )
Sends the confirmation email back to the user if configured
to do so and we have a reasonable email address for the user.
The CONFTO parameter must be the sanity checked user's email
address or the empty string it no valid email address was
Dies on error.
my ($treq, $confto) = @_;
return unless length $confto;
my $conftemp = $treq->config('confirmation_template', '');
return unless length $conftemp;
my $save = clean_template($treq);
my $body = $treq->process_template($conftemp, 'email', undef);
To => $confto,
From => $treq->config('confirmation_email_from',POSTMASTER),
Subject => $treq->config('confirmation_subject', 'Thanks'),
body => $body,
It looks like the "body" in the last line is the text of the auto-response and should be found in the template ... but what would be the syntax???? Or maybe I have this whole thing wrong. I can be dense. This is my special phrase " I CAN BE:o DENSE."