[thelist] Help with formmail -dynamic subject line

Martin Burns martin at easyweb.co.uk
Tue Jun 18 12:02:01 CDT 2002


On Tuesday, June 18, 2002, at 04:02  pm, Jen Worden wrote:

>   my $subject = $Config{subject} || '';
>   if ($secure) {
>     $subject = substr($subject, 0, 256);
>
> where it prints the email:
>
>  print MAIL $xheader, <<EOMAIL;
> To: $Config{recipient}
> From: $email$realname
> Subject: $subject
>
> I tried changing $Config{subject} to $Config{Product} (where "Product"
> is the input name - I also did it all smaller case). But it didn't work.

What's the HTML?

I'd put in a test condition along the lines of a
Product is: $Config{Product}
in the mail body to see what happens.

Cheers
Martin

_______________________________________________
email: martin at easyweb.co.uk             PGP ID:	0xA835CCCB
	martin at members.evolt.org      snailmail:	30 Shandon Place
   tel:	+44 (0)774 063 9985				Edinburgh,
   url:	http://www.easyweb.co.uk			Scotland




More information about the thelist mailing list