I sent an email from a Perl program using MIME::Lite. The email had 2 attachments; a .rtf and a .pdf file.
The email was received, and when the user clicked on the subject to open the email - the system crashed.
We tried this on different Mac systems and got the same result.
Both systems are Mac Pros, running Mac OS 10.5.8, and using the supplied Mac Mail software.
Any PC that receives the email has no problem opening the email or displaying the attached files; purchase order (the .pdf) or the cover sheet (the .rtf).
Does anybody have any idea what is causing the crash?
This is the code I used to create the email.
The email was received, and when the user clicked on the subject to open the email - the system crashed.
We tried this on different Mac systems and got the same result.
Both systems are Mac Pros, running Mac OS 10.5.8, and using the supplied Mac Mail software.
Any PC that receives the email has no problem opening the email or displaying the attached files; purchase order (the .pdf) or the cover sheet (the .rtf).
Does anybody have any idea what is causing the crash?
This is the code I used to create the email.
Code:
$msg = MIME::Lite->new(
From => 'purchasing@ochsner.org',
To => $sendTo,
cc => $CC,
Subject => 'RE: PO FROM OCHSNER',
'X-Priority' => $Priority,
Type => 'multipart/mixed');
$msg->attach(
Type => 'TEXT',
Data => $message);
$msg->attach(
Type => 'application/rtf',
Path => $vName2,
Filename => $vName2,
Disposition => 'attachment');
$msg->attach(
Type => 'application/pdf',
Path => $vName3,
Filename => $vName3,
Disposition => 'attachment');
$msg->send('smtp', 'smtp.ochsner.org');