gordonisnz
Programmer
Hi there
Im using MIME:
arser
& it IS working.. - Saving the attachments onto my server etc..
HOWEVER
It is saving the attachments with a 0 / ZERO / NIL file-size...
Heres the snippets of parser code (excluding any print statements - not relatring to theparsing of messages)
use MIME:
arser;
my $parser = new MIME:
arser;
$parser->ignore_errors(1);
$parser->extract_uuencode(1);
$parser->output_under("$fle"
;
# $fle is the directory to save the text/files to
$entity = $parser->parse_data($content);
my $results = $parser->results;
(I parse the $results, to locate the files - later on.. )
Hmm - thats it - No other $parser codes...
Am I missing anything ??
Has someone got a COMPLETE code of what im trying to do ?
(IE if I send a 15KB file to the server by email, I expect a 15KB file to be saved on the server & re-sent to wherever it is needed)
It SAVES the file as 0/nil/zero bytes - & re-sends the file - (as saved) - as zero/0 bytes - Useless to the recipient :-(
Can anyone help.
G
Im using MIME:
& it IS working.. - Saving the attachments onto my server etc..
HOWEVER
It is saving the attachments with a 0 / ZERO / NIL file-size...
Heres the snippets of parser code (excluding any print statements - not relatring to theparsing of messages)
use MIME:
my $parser = new MIME:
$parser->ignore_errors(1);
$parser->extract_uuencode(1);
$parser->output_under("$fle"
# $fle is the directory to save the text/files to
$entity = $parser->parse_data($content);
my $results = $parser->results;
(I parse the $results, to locate the files - later on.. )
Hmm - thats it - No other $parser codes...
Am I missing anything ??
Has someone got a COMPLETE code of what im trying to do ?
(IE if I send a 15KB file to the server by email, I expect a 15KB file to be saved on the server & re-sent to wherever it is needed)
It SAVES the file as 0/nil/zero bytes - & re-sends the file - (as saved) - as zero/0 bytes - Useless to the recipient :-(
Can anyone help.
G