Okay, I am just starting to use CGI.pm to write an prog that sends an
email with an attachment.
I am receiving the error: # Global symbol "in" requires explicit package name.
File 'Hard Disk:Desktop Folder:DOCS:CWN:ADS UPLOAD:ademail.cgi'; Line 14
I don't understand how I am supposed to correct
Well, I'm still working on an email attachment prog through the
browser. The programs work, uploading and sending the email but the
graphic files cannot be viewed when received. The error msg reads
that the file type is unknown. During the upload process the graphic
file gif/jpeg c
_ Reply Separator _____
Subject: email attachment
Author: <[EMAIL PROTECTED]> at Internet
Date:06/17/2001 9:46 PM
Okay, I am just starting to use CGI.pm to write an prog that sends an
email with an attachment.
I am receiving the error: # Global symbol &quo
. I don't see it anywhere. Also, it might
> help in the readbility if you were to place a space between keys and
> %in.
> Do you need to have a colon before all in line 3 when you call CGI.pm?
>
> Stephen
>
>
>
>___
--- Teresa Raymond <[EMAIL PROTECTED]> wrote:
> I am receiving the error: # Global symbol "in" requires explicit package name.
> File 'Hard Disk:Desktop Folder:DOCS:CWN:ADS UPLOAD:ademail.cgi'; Line 14
...
> I don't understand how I am supposed to correct this error, I tried
> declaring with main
Teresa Raymond wrote:
>
> The only problem with using that bit of code is that the files that
> are being sent as attachments could be as large as 3MB since they're
> graphics - photoshop,quark, etc... I'm not sure it can handle the
> code, anyone else know?
>
> Plus, I'm just learning to use s
hello,
i need to write a program that will send an email with
some text in it as the body, and also have a word
document attached to it.
any suggestions on a module to do this?
__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http:
On 8 Nov 2002 at 11:37, Anthony E. wrote:
> i need to write a program that will send an email with
> some text in it as the body, and also have a word
> document attached to it.
>
> any suggestions on a module to do this?
Hi Anthony,
Check the archives. This question has been asked many times b
Mail::Sender is good for this, make sure you try a test script first.
> -Original Message-
> From: Anthony E. [mailto:apwebdesign@;yahoo.com]
> Sent: Friday, November 08, 2002 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: sending an email attachment
>
>
> hello
( "Voilà le fichier demandé" );
$file = $^X; # This is the perl executable
open (F, $file) or die "Cannot read $file: $!";
binmode F; undef $/;
$mail{body} = encode_base64();
close F;
$boundary = '--'.$boundary;
$mail{body} = <mailto:apwebdesign@;yahoo.com]
Sent:
10 matches
Mail list logo