Implement a mechanism to save the sending emails to the database

I’m currently working on the issue #325, to implement a mechanism to save the emails sent out by the system, to a table in the database.

I have the following saved in the table

  1. profile id and email address of the recipient
  2. message
  3. id and the state of the program
  4. timestamp

As you can see, it saves the entire message string including the tags and all. So I’m not really sure what exactly needs to be stored in the database as for the email body.

This is what I have for now. Please let me know what needs to be changed.

1 Like