KamoCRM

Replicate exact email composer data flow for meeting invite emails

Fixkamo-internal
ส่งแล้ว
29 มีนาคม 2569 เวลา 20:07 UTC
ผู้เขียน
kamo
ตั้งค่า
c8ef7ad

The previous implementation only filled 8 of 20+ SignatureContent fields, causing malformed signatures with no images, name, or contact info. Now replicates the email composer's exact data flow (MessageTool.tsx): 1. Fetch session via /api/security/session/current (gets memberId, orgId) 2. Fetch sender member + org in parallel (same endpoints as composer) 3. Build ALL previewContent fields: name, title, dept, email, phone, website, company*, social links, avatar URL 4. Resolve image URLs based on template config source (member-avatar, logo-simple, logo-full) — same resolveImg logic as composer 5. Subject: '{First Last} from {Org} invited you to a meeting' 6. Host: '{First Last} from {Org}'

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทั้งหมดของมันมาถึง ในที่ทํางานของคุณเอง เริ่มที่แผนฟรี และอ่านหน้านี้อีกครั้งในเดือน.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์