Tue 02 Oct 2007 ZoneMinder zmfilter.pl mod to send pland text email (without multipart/mixed header) Current code zmfilter.pl ### Create the multipart container my $mail = MIME::Lite->new ( From => ZM_FROM_EMAIL, To => ZM_MESSAGE_ADDRESS, Subject => $subject, Type => "multipart/mixed" ); ### Add the text message part $mail->attach ( Type => "TEXT", Data => $body ); ### Add the attachments foreach my $attachment ( @attachments ) { Info( "Attaching '$attachment->{path}\n" ); $mail->attach( Path => $attachment->{path}, Type => $attachment->{type}, Disposition => "attachment" ); } ### Send the Message MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60 ); $mail->send(); replacement code zmfilter.pl ### Create the single part container my $mail = MIME::Lite->new ( From => ZM_FROM_EMAIL, To => ZM_MESSAGE_ADDRESS, Subject => $subject, Data => $body ); ### Send the Message & scrub headers $mail->scrub; MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60 ); $mail->send(); and use this code for ZM_MESSAGE_BODY under options ZM alarm detected - %EL% secs, %EF%/%EFA% frames, t%EST%/m%ESM%/a%ESA% score. Steve Ognenovski