@social-mail/social-mail-web-server 1.7.301 → 1.7.303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/workflows/smtp/MailDispatcherService.d.ts.map +1 -1
- package/dist/server/workflows/smtp/MailDispatcherService.js +2 -1
- package/dist/server/workflows/smtp/MailDispatcherService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/server/workflows/smtp/MailDispatcherService.ts +2 -1
package/package.json
CHANGED
|
@@ -109,6 +109,7 @@ export default class MailDispatcherService {
|
|
|
109
109
|
filename: ea.name,
|
|
110
110
|
contentType: "message/external-body",
|
|
111
111
|
contentDisposition: ea.contentDisposition as any,
|
|
112
|
+
cid: ea.contentID ?? ea.appFileID.toString(),
|
|
112
113
|
headers: {
|
|
113
114
|
"access-type": "URL",
|
|
114
115
|
"URL": downloadLink,
|
|
@@ -126,7 +127,7 @@ export default class MailDispatcherService {
|
|
|
126
127
|
filename: ea.name,
|
|
127
128
|
contentType: ea.contentType,
|
|
128
129
|
contentDisposition: ea.contentDisposition as any,
|
|
129
|
-
cid: ea.appFileID.toString()
|
|
130
|
+
cid: ea.contentID ?? ea.appFileID.toString()
|
|
130
131
|
};
|
|
131
132
|
};
|
|
132
133
|
|