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
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,
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
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
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
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
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.
[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
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
#/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
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
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
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
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
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'
15 matches
Mail list logo