Attachment not working : "Need ContentType !"

Hi again, I'm trying to send an email to OTRS with an attachment (a small ascii file named error.log created with notepad). The system receives the e-mail, creates a ticket with an attachment named 'filed-1', containing the message body, but no attachment for the error.log file. In the OTRS logs I get the error "Need ContentType !" at the same date as the ticket creation. I am using OTRS 1.2.1. Any help would be appreciated, Brice

Hi Brice, On Wed, Feb 18, 2004 at 04:30:44PM +0100, Brice Levy wrote:
I'm trying to send an email to OTRS with an attachment (a small ascii file named error.log created with notepad). The system receives the e-mail, creates a ticket with an attachment named 'filed-1', containing the message body, but no attachment for the error.log file. In the OTRS logs I get the error "Need ContentType !" at the same date as the ticket creation.
In this case the email is bad because there is no ContentType. :-( However, we change this 2 days ago to use 'text/plain' in this cases. Update Kernel/System/EmailParser.pm to 1.28 and it will work.
Brice
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hi Martin,
In this case the email is bad because there is no ContentType. :-(
The e-mail was sent with outlook express 6, the attached file was created with notepad, so it should happen with a lot of people :\
However, we change this 2 days ago to use 'text/plain' in this cases.
Update Kernel/System/EmailParser.pm to 1.28 and it will work.
Thanks ! The file looks weird in notepad (line breaks / carriage return confusion I think) but at least it is there !
Martin Edenhofer
Brice Levy
participants (2)
-
Brice Levy
-
Martin Edenhofer