|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Sep 2002
Location: Scotland
Posts: 50
|
CGI Perl - Change Email's recipient
Hi there,
I'm stuck on a problem with CGI-Perl. I know a little about it. Anyway, I have created a form which a visitor to send a message to one person. I have been asked to add a choice of 2 recipients. We'll call them John (john@myemail.com) and Jane (jane@email.com). The form has two 2 radio buttons which you only select one. Those radio buttons are a way of selecting your recipient e.g. send message to either john@myemail.com or jane@myemail.com. The code snippet below is in the FORM.
In the perl file, I have to check which the visitor chose to send the message to. This what I wrote:
that didn't work. Before, it was a simple task of setting the recipent to one email e.g.
The above line worked, Iwas able to get emails. However, I have to figure out some way of sending the message to the right recipent. Can you please help? Cheers, Jova Last edited by Jova; 04-30-2003 at 07:20 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|