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.
In reply to v-string in use/require non-portable by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |