Package: libmail-sender-perl
Version: 0.8.10-1
Severity: minor

This script, when /tmp/blah is a text file with a newline at the end
(as most files have)

use Mail::Sender;
$sender = new Mail::Sender {smtp => 'mail.your.domain', from => 'from-addr'};
$sender->MailFile({to => 'to-addr', subject => 'test',
                   msg => 'test attach',
                   file => '/tmp/blah',
                   ctype => 'text/plain',
                   encoding => '7BIT'});

sends something which when received, lacks a newline at the end.
Encoding with Base64 allows the file to be sent correctly.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-nv7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libmail-sender-perl depends on:
ii  perl                          5.8.7-3    Larry Wall's Practical Extraction 

libmail-sender-perl recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to