: Re: Newbie question - Can smtp send attachments?
Hey Alex,
My MUA believes you used Internet Mail Service (5.5.2653.19)
to write the following on Wednesday, September 4, 2002 at 2:39:07 PM.
YA Hi,
YA Having problems with just a simple test of MIME::Lite. Here is the
output
-Original Message-
From: Yuen, Alex [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 11:17 AM
To: 'Perl Beginners'
Subject: Newbie question - Can smtp send attachments?
Hi,
Is it possible to send attachments using NET::SMTP?
Well, yes. But SMTP doesn't really
.--[ Yuen, Alex wrote (2002/09/04 at 11:16:30) ]--
|
| Is it possible to send attachments using NET::SMTP?
|
| Will I need to use a seperate module in my script? If so, which one and how?
|
`-
It's not really possible to
--
From: Bob Showalter[SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 11:33 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Newbie question - Can smtp send attachments?
-Original Message-
From: Yuen, Alex [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
Alex Yuen wrote:
#!/usr/local/bin/perl -w
use MIME::Lite;
use strict;
$msg = MIME::Lite-new(
From ='[EMAIL PROTECTED]',
To='[EMAIL PROTECTED]',
Subject ='Testing MIME::Lite Module.',
Data =Successfully sent message.
);
$msg-send;
It means that you need a my before your $msg variables' first use.
You predeclared use strict promising Perl you would declare your
variables before using them. my $msg would declare a local variable
so you can use it.
James
On Wednesday, September 4, 2002, at 01:39 PM, Yuen, Alex wrote:
Hey Alex,
My MUA believes you used Internet Mail Service (5.5.2653.19)
to write the following on Wednesday, September 4, 2002 at 2:39:07 PM.
YA Hi,
YA Having problems with just a simple test of MIME::Lite. Here is the output:
YA