cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Receiver - Send file in ISO-8859-1 encoding

Former Member
0 Kudos

Hi,

I'm sending mail with an attachment using mail adapter, but instead of specified ISO-8859-1 it is converted to UTF-8 no BOM,. Because of that, some characters (ñ,ç, etc) are not transferred properly.

Settings:

Message protocol: XIPAYLOAD

No mail package.

Transform.ContentType: multipart/mixed; boundary=--AaZz; charset=ISO-8859-1

Payload:

multipart/mixed; boundary=AaZz; charset=ISO-8859-1</Content_Type><Content>--AaZz

Content-Type: text/plain; charset=ISO-8859-1

Content-Disposition: inline

File attachment

-

-


AaZz

Content-Type: text/plain; charset= ISO-8859-1

Content-Disposition: attachment; filename=TestFile

iso-8859 characters ñ ç ñ ñ

-

-


AaZz--

</Content></ns:Mail>

I need advice in how to force the file to be created with ISO-8859-1 enconding.

Thanks in advance.

Regards,

Iván.

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> I need advice in how to force the file to be created with ISO-8859-1 enconding.

This is not possible with using mailPackage.

Find a solution without Mailpackage.

Former Member
0 Kudos

I'm not using Mailpackage, only XIPAYLOAD.

stefan_grube
Active Contributor
0 Kudos

Anyway, it does not work as you have described it.

You can raise an OSS ticket for this issue.

Former Member
0 Kudos

Hi,

I`ve used payloadAnonymizerBean to specify the encoding. File looks ok now, but the mail client warns about malformed mail.

Regards,

Iván.

jean-philippe_pain2
Participant
0 Kudos

Hello tarotrocola,

I am facing some problems for sending mail in MIME MULTIPART with attachment withtout mail package.

Can you tell me please have you done that ?

Thanks,

Jean-Philippe

Former Member
0 Kudos

Hi Jean-Philippe,

Yes, please check my first post, if you use same settings, and create message as mine, it should work, the TestFile is created as an attachment.

Include this line in the module configuration with transform key:

Transform.ContentType: multipart/mixed; boundary=--AaZz;

If you still have issues, please give me a description of the error.

Regards,

Ivan.