Version: 2.5.8 (using 3.5.8, Gentoo) Compiler: Target: i686-pc-linux-gnu OS: Linux (i686) release 2.6.23-gentoo-r9 Instead it is displayed as inlined text While implementing a quick & dirty solution at an AIX box to send out mails with a Reply-To: line I wrote the following script 8see below). It results are displayed fine within Lotus Notes but at my local Gentoo Linux + KMail instead I didn't get valid mail+attachment - instead I got a plain text mail only :-( Here's the script ./mymail.sh : -------------------------------------------------- fn_sendmail() { echo "From: <noreply@nowhere> Do not reply to this address To: tfoerste@localhost Reply-To: user@other.domain Subject: test X-MSMail-Priority: High Importance: 1 Mime-Version: 1.0 Content-Type: text/plain This is a test email ... Rgds " [[ -f $ATTACH ]] && uuencode $ATTACH $ATTACH } ATTACH=$1 fn_sendmail | /usr/sbin/sendmail -t -O DeliveryMode=i -R hdrs -n -------------------------------------------------- I run it with : tfoerste@n22 ~/tmp $ ls > ls; ./mymail.sh ls
Please attach such a mail.
Created attachment 23746 [details] example mail
That's not a mime attachment, it's a uuencoded attachment, which KMail does not understand. I suggest changing your script to produce valid mime messages. *** This bug has been marked as a duplicate of 55898 ***