Ton wrote:
> How did you make the attachment ? the 8-bit issues may or may not
> be mtv's browser problem, but the first two start with (after a o) a bunch
> of spaces, which is weird, i expected a formfeed (as the last one has)

Like this:

    my $msg = MIME::Lite->new( To      => $referee_email,
                               From    => 'PGAS
<[EMAIL PROTECTED]>',
                               Subject => "PGAS : $course : $hole :
$vars->{name}",
                               Type    => 'multipart/mixed' );

    $msg->attach( Type => 'TEXT',
                  Data => $referee_msg );

    $msg->attach( Type        => 'text/plain',
                  Path        => "$temp_dir/$test",
                  Disposition => 'attachment', );

    $msg->send;

Maybe it's the Type attribute?  What would be the appropriate MIME type
other than text/plain?

Reply via email to