From owner-freebsd-questions Sun Feb 10 23:35: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from raiden.jasnetworks.net (raiden.jasnetworks.net [65.194.248.251]) by hub.freebsd.org (Postfix) with ESMTP id 9D8C937B402 for ; Sun, 10 Feb 2002 23:34:57 -0800 (PST) Received: from works ([192.168.0.2]) by raiden.jasnetworks.net (8.11.6/8.11.6) with ESMTP id g1B7aQD17322 for ; Mon, 11 Feb 2002 02:36:27 -0500 (EST) (envelope-from raiden23@netzero.net) Message-Id: <4.2.0.58.20020211023223.009c3860@pop.netzero.net> X-Sender: raiden23@pop.netzero.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Mon, 11 Feb 2002 02:39:49 -0500 To: freebsd-questions@freebsd.org From: Lord Raiden Subject: Perl Question Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I know this is kinda off topic, but at the same time it's sorta on topic. Looking for anyone who's a Perl Guru of sorts. Got a simple question about a perl script I'm working on. All I need this script to do is to email someone an attachment and the associated instructions on what to do with the attachment based on which box they check in the submission form. I also need it to send an individual email to the email address submitted with the form for each item checked in the form. So if I enter "theuser@domain.com" in as the email address, then check item1, item2, and item3, it sends off 3 separate emails, each with their respective subjects, attachments, and instructions to the user's email address "theuser@domain.com". What is the easiest way to go about doing this? The server this is running on is FreeBSD 4.5 using Apache. Any help on this would be greatly welcome. I can do the error checking and stuff like that myself. My biggest stumbling point is doing the correct subject, message, and attachments based on the selections in the submitted form and then sending them off as individual emails. Of that list, doing the attachments is the toughest part. Not sure how to do that. Thanks in advance for any help or pointers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message