Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

jcarrott (Programmer) (OP)
17 Mar 10 12:14
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.

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');

jmgalvin (TechnicalUser)
17 Mar 10 14:06
Over the years I've experienced problems on Macs with emails using MIME from PCs- often not be able to open attachments.  I've not had crashes but have not been able to see things.

Your heading said "crashes server" but your message indicated the email crashing a desktop mac.  If it is a server problem, it has to do with MIME mapping that can be changed in the administration utility - by a competent administrator.

Have you tried simply using a standard mail app like Outlook, etc. and see if the mail goes through?
 

Using OSX 10.3.9 & 10.4.11 on a G4, G5 & Intel Macbook

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close