Date: Tue, 12 Feb 2002 07:45:00 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: Lord Raiden <raiden23@netzero.net> Cc: freebsd-questions@freebsd.org Subject: Re: Perl Question Message-ID: <20020212074500.F494@k7.mavetju.org> In-Reply-To: <4.2.0.58.20020211023223.009c3860@pop.netzero.net>; from raiden23@netzero.net on Mon, Feb 11, 2002 at 02:39:49AM -0500 References: <4.2.0.58.20020211023223.009c3860@pop.netzero.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 11, 2002 at 02:39:49AM -0500, Lord Raiden wrote: > 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. Use mutt: open(FOUT,"|mutt -a filename -s subject person1 person2 person2"); print FOUT "C'est ne pas une lettre\n" close(FOUT); Just be sure that you check person1..3 to not have illegal characters in them (`, ; etc) Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212074500.F494>