Note-External being sent as .txt attachment

Moderator: crythias

Locked
tjhohm
Znuny newbie
Posts: 1
Joined: 22 Sep 2010, 19:19
Znuny Version: 2.4.8

Note-External being sent as .txt attachment

Post by tjhohm »

Hello!

I am doing my first OTRS configuration for my company -- we are running 2.4.8 on a Windows machine. I have run into a few problems that I've been able to take care of, but now I am stuck!

I set up a Notification (Event) that notifies the customer by email whenever we make a note to the ticket using Note-External, but when it sends the email, only the ticket body shows up in the actual email. The full notification is attached as a .txt attachment.

Here is how I have the Notification (Event) set up:
Recipient: Customer
Event: ArticleCreate
Article Type: Note-External
Include Attachments to Notification: No

Subject: "<OTRS_TICKET_TicketNumber> has been updated!"
Body:
"Ticket#: <OTRS_TICKET_TicketNumber>
ID: <OTRS_TICKET_TicketID>
State: <OTRS_TICKET_State>

Hi, <OTRS_CUSTOMER_REALNAME>,

Your ticket has been updated. <OTRS_CUSTOMER_FROM> wrote:

<OTRS_AGENT_BODY[999]>"
What we receive on the other end is an attachment named "ATT00158.txt" (the last 5 digits change every time) and the body only of the ticket note. Inside that plain text attachment is the full note how I formatted it above. I've also provided a screenshot of how the email looks.

Here is the headers for the email:
Return-Path: <>
Delivered-To: [EMAIL REMOVED]
Received: (qmail 20286 invoked from network); 21 Sep 2010 23:07:49 -0000
Received: from unknown (HELO helpdesk.wcpl.com) (Authenticated-user:_helpdesk@[DOMAIN REMOVED]@[[IP REMOVED]])
(envelope-sender <>)
by xmail02.myhosting.com (qmail-ldap-1.03) with ESMTPA
for <EMAIL REMOVED]>; 21 Sep 2010 23:07:48 -0000
MIME-Version: 1.0
Subject: [Ticket#1000020] 1000020 has been updated!
X-Powered-BY: OTRS - Open Ticket Request System (http://otrs.org/)
X-Mailer: OTRS Mail Service (2.4.8)
Date: Tue, 21 Sep 2010 16:08:08 -0700
X-Loop: yes
Message-ID: <1285110488.666747.380126953.31.2@[DOMAIN REMOVED]>
To: "TJ Hohm" <[EMAIL REMOVED]>
Organization: <[ORGANIZATION REMOVED]>
From: <[EMAIL REMOVED]>
Content-Type: multipart/mixed; boundary="----------=_1285110488-2912-2"
I removed all the email addresses, domain name, organization name, etc for security purposes, but otherwise that is the full header.

Can anyone help me with this? Thank you so much in advance!
You do not have the required permissions to view the files attached to this post.
-tjhohm
peter_sk
Znuny newbie
Posts: 53
Joined: 10 Jun 2010, 09:27
Znuny Version: 2.4.7

Re: Note-External being sent as .txt attachment

Post by peter_sk »

I think there is a bug opened on this. See: http://forums.otrs.org/viewtopic.php?f=61&t=5606
OTRS 2.4.7 with ITSM 2.0.3. running on Linux Fedora 12
Locked