Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a question about perl and need your help. I have a perl script which use MIME::Lite to send email to a mailbox server. Here are some lines:
$mime_msg = MIME::Lite->new( From => '1001@151.104.234.7', To => '1002@151.104.234.7', Subject => 'test', Type => 'text/html', Data => $message); MIME::Lite->send('smtp', '151.104.234.7'); $mime_msg->send();
This program works fine. But after I install module MIME::Parser for retireving attachment. Accurately say after installing MailTool (when I run perl script, I was asked to insatll MailTool), the above lines can not go through. I got the error:
Also I got such error when I run my perl script:"unrecognised line: '1002@151.104.234.7' (eval 8) at line 6."
Anyone has an idea about this problem? Thanks in advance! Quencyv-string in use/require non-portable at /usr/lib/perl5/site_perl/5.8.0/MIME/Field/ParamVal.pm line 65.
Edited by Chady -- added code tags, and some formatting.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: v-string in use/require non-portable
by andyf (Pilgrim) on May 16, 2004 at 09:31 UTC | |
by hv (Prior) on May 16, 2004 at 12:08 UTC | |
by ysth (Canon) on May 16, 2004 at 18:25 UTC | |
by hv (Prior) on May 16, 2004 at 20:48 UTC | |
by Anonymous Monk on May 16, 2004 at 17:15 UTC | |
by hv (Prior) on May 16, 2004 at 21:29 UTC | |
by demerphq (Chancellor) on May 17, 2004 at 12:49 UTC | |
|
Re: v-string in use/require non-portable
by exussum0 (Vicar) on May 16, 2004 at 08:46 UTC | |
|
Re: v-string in use/require non-portable
by demerphq (Chancellor) on May 17, 2004 at 12:41 UTC | |
by Anonymous Monk on May 17, 2004 at 14:53 UTC |