Six has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas?#!C:/Perl/bin/perl.exe use strict; use CGI qw(:standard); my $sname=param('sendername'); my $saddr=param('senderaddr'); my $rname=param('recpientname'); my $raddr=param('recipientaddr'); my $subject=param('subject'); my $server="server.theone.i.use"; my $ThankPage = "http://the.site.i.want.to.end.with"; my $message=param('message'); my $lt='<'; my $gt='>'; open (messtxt,">message.txt"); print messtxt ($message); close messtxt; my $blat="E:\\Inetpub\\wwwroot\\misc\\blat\\blat\.exe -body \"$message +\" -s \"$subject\" -t \"$raddr\" -server $server -f \"$saddr\""; system($blat); print "Location: $ThankPage\n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Mailer
by MidLifeXis (Monsignor) on Dec 17, 2008 at 17:38 UTC | |
by Six (Initiate) on Dec 17, 2008 at 17:49 UTC | |
by MidLifeXis (Monsignor) on Dec 17, 2008 at 18:09 UTC | |
|
Re: Perl Mailer
by trwww (Priest) on Dec 17, 2008 at 18:13 UTC | |
by MidLifeXis (Monsignor) on Dec 17, 2008 at 18:28 UTC | |
by trwww (Priest) on Dec 17, 2008 at 23:40 UTC | |
by MidLifeXis (Monsignor) on Dec 18, 2008 at 01:56 UTC | |
by Anonymous Monk on Dec 18, 2008 at 12:34 UTC |