I'm using `commons-email-1.2.jar` and I have the issue with the attachment name.

```
private static final String XML_ATTACHMENT_FILE_NAME = "Data.xml";
...
email.attach(ds, XML_ATTACHMENT_FILE_NAME, description, EmailAttachment.ATTACHMENT);

```

The problem is that the attachment name is not `"Data.xml"` but something else related to the media name stored on the database, somehow related to the description + file extension.

Did somebody else face this issue?

UPDATE:
On Windows (Outlook) it's working properly but the problem is on Mac.