RE: cgi mail script anyone?

2003-10-08 Thread Dan Muey
I understand what you are saying but I would have to include the path, the @INC thing, to the use WhateverTheHeckICallTheModule qw(emailx);. No you wouldn't not if you install it via cpan (IE it's in a standard directory already in @INC) Same with any other module, Net::SMTP,

RE: cgi mail script anyone?

2003-10-08 Thread Dan Muey
#/usr/bin/perl use strict; use warnings; use WhateverTheHeckICallTheModule qw(emailx); emailx({ ip = '1.2.3.4', to = '[EMAIL PROTECTED]', fr = '[EMAIL PROTECTED]', sb = 'Inquiry Response Request', ms = $emailmessagehere }) or die No

RE: cgi mail script anyone?

2003-10-08 Thread Dan Muey
Great, I got the use lib to work but where is the directory for these modules you mentioned (on linux): Cool. No you wouldn't not if you install it via cpan (IE it's in a standard directory already in @INC) Same with any other module, Net::SMTP, Mail::Sender, I did a find but

RE: cgi mail script anyone?

2003-10-07 Thread Dan Muey
Thanks, you did good with this code for me. I did not want to load more library as most suggested. This works just fine Why not? One simple use statement and you're done. Platform independent, No relying on an external program to be at the path you specify, use the switches you specify, Or