PDA

View Full Version : formMail w/ multiple subjects?


charbort
01-15-2003, 10:36 PM
I thought I had completed a big accomplishment by getting formMail working (obviously I am very new to Perl) and now it seems I have to pass multiple subjects in from the form and send an email for each with the different subjects. Is this even possible?

A yes/no or any suggestions as to next steps would be great.

Thanks in advance

ivy
01-16-2003, 12:08 PM
Hi charbort

I am quite new to perl too but I think that all you need to do is use:


$subject = "First subject heading";
$subject2 = "Second subject heading";
$subject3 = "Third subject heading";

And then when writing the emails:

To: $senderemail
From: $support
Subject: $subject

To: $senderemail
From: $support
Subject: $subject2

To: $senderemail
From: $support
Subject: $subject3



I am not too sure but this seems rather logical to me though I have not tried it!

Hope it works!

charbort
01-16-2003, 03:00 PM
Thanks Ivy,

I'll give it a try as soon as I finish setting up passing the variables from the HTML/JavaScript.

Thanks again,
C:thumbsup: