Closed Tzanou123 closed 2 years ago
I believe you can achieve your goal using this code:
final partBuilder = await builder.addFile(file, MediaSubtype.imageJpeg.mediaType);
partBuilder.addHeader('Content-Id', 'yourUniqueIdHere');
Thanks dude !
Hello,
Is there any way to add and customize a Content-ID on attachments with low level smtp api ?
I need it to make a reference on an tag in my html
i actually use
await builder.addFile(file, MediaSubtype.imageJpeg.mediaType);
Thanks