Email with attachment and HTML email

2003-10-07 Thread Octavian Rasnita
Hi all, I know to use the Net::SMTP module, but I would like to send an email which has a fiew file attached and to be an HTML type because I want to include an image in it. Do you know which perl module can help me doing that? Thank you. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Email with attachment and HTML email

2003-10-07 Thread Greg Bolshaw
Octavian Rasnita wrote: I know to use the Net::SMTP module, but I would like to send an email which has a fiew file attached and to be an HTML type because I want to include an image in it. Do you know which perl module can help me doing that? Try Mail::Sender. -- Greg -- To unsubscribe,

Re: Email with attachment and HTML email

2003-10-07 Thread Wiggins d'Anconia
On Tue, 07 Oct 2003 13:32:02 +0100, Greg Bolshaw [EMAIL PROTECTED] wrote: Octavian Rasnita wrote: I know to use the Net::SMTP module, but I would like to send an email which has a fiew file attached and to be an HTML type because I want to

dclrs datacolours

2003-10-07 Thread A L
Hi, I can't seemed use different colors for each bar. Instead of different colors according to @datacolor, only blue is printed for all the bars. Can you tell me what's wrong with this code? And, wanting to delete a file that contains the following graph (to avoid accumulation), what can I

Best Token Char For Template

2003-10-07 Thread perl
1 - What is the best char to use in a file template? Also, please give me a good regex? I will have a formatted html page with some keys that I want to replace. For example, ... !-- here my token is a ! -- tdFirst Name:/tdtd!fname!/td tdLast Name:/tdtd~!lname!/td ... 2 - Can I read in the

RE: cgi mail script anyone?

2003-10-07 Thread perl
I understand what you are saying but I would have to include the path, the @INC thing, to the use WhateverTheHeckICallTheModule qw(emailx);. This would affect command line and mod_perl. If I put the WhateverTheHeckICallTheModule in the current dir, it works fine for the command line. For

RE: cgi mail script anyone?

2003-10-07 Thread perl
Great, I got the use lib to work but where is the directory for these modules you mentioned (on linux): 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 it did not find it.

RE: cgi mail script anyone?

2003-10-07 Thread david
[EMAIL PROTECTED] wrote: Great, I got the use lib to work but where is the directory for these modules you mentioned (on linux): 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

RE: cgi mail script anyone?

2003-10-07 Thread perl
Thanks, you just help me out greatly. I can now plan out my modules instead of ... with this location of the module files. thanks, -rkl [EMAIL PROTECTED] wrote: Great, I got the use lib to work but where is the directory for these modules you mentioned (on linux): No you wouldn't not if

RE: cgi mail script anyone?

2003-10-07 Thread perl
#/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 sendy mial

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

RE: cgi mail script anyone?

2003-10-07 Thread Roberts Mr Richard L
I am using NET::SSH::Perl. Login is correct. mkdir is correct. Yet when I try to pass a local file to remote host to copy file to newly created directory, it fails: code: use Net::SSH::Perl my $ssh = Net::SSH::Perl-new($host); $ssh-login($user, $pass); print $ssh-cmd(mkdir $site); print

RE: cgi mail script anyone?

2003-10-07 Thread TN
Is the $site directory actually created? What are it's permissions? Maybe you can $ssh-cmd(cp $site/$filename); But I thought cp required at least two args. -tristram -Original Message- From: Roberts Mr Richard L [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 12:48 PM

RE: cgi mail script anyone?

2003-10-07 Thread Roberts Mr Richard L
the code: $ssh-cmd(mkdir $direct); functions as directory '$direct' is created, yet my next line of code: $ssh-cmd(cd $direct); chokes as I run next line to confirm: $ssh-cmd(pwd); shows no directory change, still in parent directory thus when I run: $ssh-cmd(cp $file1 $file2); gets no responce

RE: cgi mail script anyone?

2003-10-07 Thread Roberts Mr Richard L
I have full permissions as earlier code creates new dir: $site, yet when I try to 'cd' or even 'cwd' notta thus when I try to cp $ssh-cmd(cp $file 20020922); it bombs. -Original Message- From: TN [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 1:10 PM To: 'Roberts Mr Richard L'