Carriage return problem on attachment
Moderator: crythias
Carriage return problem on attachment
Hi all,
I send an email with a txt file attached to the OTRS system, thi file contains the characters \r\n at the end of the line, when the mail is fetched by OTRS, it deletes all occurrences of \r.
How can i keep all \r char?
Thank you,
Mark.
I send an email with a txt file attached to the OTRS system, thi file contains the characters \r\n at the end of the line, when the mail is fetched by OTRS, it deletes all occurrences of \r.
How can i keep all \r char?
Thank you,
Mark.
Re: Carriage return problem on attachment
you seem to expect enterprise support in this forum. You should consider buying support.
please explain your issues in a more detailled way. I can attach text files without loosing anything.
please explain your issues in a more detailled way. I can attach text files without loosing anything.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Carriage return problem on attachment
I have a problem with txt attachments sent to OTRS.
- I have a txt file with at the end the CR and LF characters.
- I sent this file from my mailbox to OTRS and a ticket is generated.
- When I open the attachment form OTRS, every CR char was lost.
It seems like the OTRS client mail removes every CR character in txt attachments.
My question is: it's possible that is a problem of OTRS, or is a system problem?
I try on two different systems:
First: OTRS v2.3.11 Windows Server 2003
Second: OTRS v3.3.6 Centos 6
Thanks!
Marco.
- I have a txt file with at the end the CR and LF characters.
- I sent this file from my mailbox to OTRS and a ticket is generated.
- When I open the attachment form OTRS, every CR char was lost.
It seems like the OTRS client mail removes every CR character in txt attachments.
My question is: it's possible that is a problem of OTRS, or is a system problem?
I try on two different systems:
First: OTRS v2.3.11 Windows Server 2003
Second: OTRS v3.3.6 Centos 6
Thanks!
Marco.
Re: Carriage return problem on attachment
OTRS does not change attachments
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Carriage return problem on attachment
Thanks jojo.
Who knows what corrupts the file..
Marco.
Who knows what corrupts the file..

Marco.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Carriage return problem on attachment
can you post the sourcecode of the mail (can be downloaded when you click on "plain view" button in the article)?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Carriage return problem on attachment
Hi reneeb, yes of sure!
This are the 2 files, one is the attachment and the other is the source of the mail. In the source there are carriage return characters..
Thanks,
Marco.
This are the 2 files, one is the attachment and the other is the source of the mail. In the source there are carriage return characters..
Thanks,
Marco.
You do not have the required permissions to view the files attached to this post.