Bug 158583 - MIME attachement not recognized
Summary: MIME attachement not recognized
Status: RESOLVED DUPLICATE of bug 55898
Alias: None
Product: kmail
Classification: Applications
Component: mime (show other bugs)
Version: 1.9.8
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 17:05 UTC by Toralf Förster
Modified: 2008-02-29 20:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
example mail (2.04 KB, text/plain)
2008-02-29 20:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster 2008-02-29 17:05:24 UTC
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
Comment 1 Thomas McGuire 2008-02-29 19:25:37 UTC
Please attach such a mail.
Comment 2 Toralf Förster 2008-02-29 20:15:27 UTC
Created attachment 23746 [details]
example mail
Comment 3 Thomas McGuire 2008-02-29 20:31:28 UTC
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 ***