@social-mail/social-mail-client 1.2.67 → 1.2.68
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/admin/AdminAppIndex.pack.js +9 -2
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +9 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/service/MailService.d.ts.map +1 -1
- package/dist/web/page/mails/service/MailService.js +9 -2
- package/dist/web/page/mails/service/MailService.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/service/MailService.ts +9 -2
|
@@ -21873,8 +21873,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
21873
21873
|
const {
|
|
21874
21874
|
textBody
|
|
21875
21875
|
} = email;
|
|
21876
|
-
if (textBody) {
|
|
21877
|
-
|
|
21876
|
+
if (textBody && !email.subject) {
|
|
21877
|
+
const lines = textBody.split("\n");
|
|
21878
|
+
for (const line of lines) {
|
|
21879
|
+
if (!line.trim()) {
|
|
21880
|
+
continue;
|
|
21881
|
+
}
|
|
21882
|
+
email.subject || (email.subject = line.substring(0, 80));
|
|
21883
|
+
break;
|
|
21884
|
+
}
|
|
21878
21885
|
}
|
|
21879
21886
|
for (const iterator of email.recipients) {
|
|
21880
21887
|
if (iterator.emailAddressText) {
|