-
Bug
-
Resolution: Fixed
-
Neutral
-
4.5
-
None
See SUPPORT-2528
On Windows environment, creating a MailAttachment from a File parameter incorrectly sets its uri to file prefix + absolute path, e.g. file://C:/...
This results in an IOException/UnknownHostException: C when sending the e-mail.
Essentially, it seems to expect the following pattern: protocol://hostname/path;
if hostname is blank it expects the third slash right away.
We may well leave uri resolution up to the client and deprecate the setPath method for setUri.
Acceptance criteria
- duplicates
-
MAGNOLIA-3597 Attach a File with MailAttachment on Windows platform
- Closed
- is cloned by
-
MGNLMAIL-16 MailAttachment uri may be set incorrectly
- Closed