mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.64k stars 331 forks source link

Logic of where message bodies are stored #252

Closed HeadStudios closed 1 year ago

HeadStudios commented 1 year ago

I'm investigated SendPortal code to troubleshoot on an issue of emails not being sent - I have found the Message class and reviewed the sendportal_messages table but I cannot find email_body - only subject. I am confused why an email body is not created for each Message model instance - any input on how this is looked up would be much appreciated. Thank you!

JonoB commented 1 year ago

The message body is not stored since it will be identical for every message (baring the merged variables)

HeadStudios commented 1 year ago

The message body is not stored since it will be identical for every message (baring the merged variables)

Thank you!