Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-11396

Make MailMessage support bytearrays for attachments

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.0.3 GA
    • Fix Version/s: None
    • Component/s: ~[Archived] WCM
    • Labels:
      None

      Description

      Currently the only way to attach a file to a mail message is to call addAttachment with a File object but when you are generating an attachment dynamically it's really anoying to have to store a file on disk and clean it up afterwards. So it would be nice if you could also attach an attachment by means of a bytearray

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            Anonymous
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 39 weeks, 6 days ago

                Packages

                Version Package