Skip to content

MailTemplateInstance with attachments #30805

@jota-coelho

Description

@jota-coelho

Description

Hi...
I need send mails using io.quarkus.mailer.MailTemplateInstance with byte[] attachments.
In version 2.16.1-Final the only method addInlineAttachemet accept just File.

MailTemplateInstance addInlineAttachment(String name, File file, String contentType, String contentId);

Implementation ideas

Please, implement this method:

public addInlineAttachment(String name, byte[] data, String contentType, String contentId)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions