Style Definitions on pdf and email notification[SOLVED]

Moderator: crythias

Locked
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Style Definitions on pdf and email notification[SOLVED]

Post by kenmurimi »

Hi all,

I am getting style definations on the pdf (print ticket) and email notifications to agents. an example from email (snip) below

--------------------------------------------------------------------------------------------------------------------
<snip>

Normal 0 false false false EN-US X-NONE X-NONE
MicrosoftInternetExplorer4

/* Style Definitions */ table.MsoNormalTable
{mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99;
mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in
5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan; font-size:11.0pt;
font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}

------------------------------------------------------------------------------------------------------------------

I cant get where this is coming from and I am looking for a way to correct it.

Any help greatly appreciated
Last edited by kenmurimi on 27 Jan 2011, 14:07, edited 1 time in total.
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Style Definitions on pdf and email notification

Post by crythias »

check your modules to be certain you have the PDF API installed.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: Style Definitions on pdf and email notification

Post by kenmurimi »

Thanks crythias for the responce

yes i have PDF API installed and pdf output enabled. the error is not only on the pdf output but also on the email notifications to the agents for a new ticket.
on the pdf it comes on email external articles between the message body and the signature. on the new ticket notification it comes on the <snip> part

still trying to get where the problem is

some more info i just noted for the error on the email notification to agents:


this only happens for tickets created by phone where the agent copy pasted the email to the problem description text box.


any help greatly appreciated
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Style Definitions on pdf and email notification

Post by crythias »

kenmurimi wrote:his only happens for tickets created by phone where the agent copy pasted the email to the problem description text box.
This makes sense to me because MSONormalTable stuff ... that's MicrosoftOffice junk. It would be typical cruft on copy/paste.

Mitigation:
1) Forward (crop/send) the email instead of copy/paste
2) Paste to notepad, copy/paste to description box
3) one of these applets to remove paste formatting via keypress:
http://www.donationcoder.com/Software/S ... PlainPaste (something like ctrl-v twice)
http://www.stevemiller.net/puretext/ (win-v, or keypress of your choice)
4) change from Rich Text submission to Plain Text
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: Style Definitions on pdf and email notification

Post by kenmurimi »

Thanks alot Crythias fro that..
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
Locked