Gossamer Forum
Home : General : Perl Programming :

Re: Email attachments

Quote Reply
Re: Email attachments In reply to
Just use if statements. Something like:
Code:
my $hiddenfield = $FORM{hiddenfieldname};

if ($hiddenfield =~ s/[A-Za-z0-9]+/) {

email the file using code above, replacing $file with $hiddenfield

} else {

send an ordinary email

}
Is that what you meant?

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Subject Author Views Date
Thread Email attachments Endor 4858 Apr 16, 2001, 1:39 PM
Thread Re: Email attachments
Paul 4739 Apr 16, 2001, 2:21 PM
Thread Re: Email attachments
Endor 4691 May 27, 2001, 12:16 PM
Thread Re: Email attachments
Paul 4687 May 27, 2001, 1:14 PM
Thread Re: Email attachments
Endor 4671 May 27, 2001, 4:55 PM
Thread Re: Email attachments
Paul 4683 May 27, 2001, 5:00 PM
Thread Re: Email attachments
Chef 4637 Jun 3, 2001, 7:23 AM
Post Re: Email attachments
Paul 4643 Jun 3, 2001, 7:58 AM