Hi Steve,
This a two-question topic:
1.- I can see in database that there are few tables related to emails:
- newsletters
- newsletters__history
- newsletters__newsletters
If I show (through conf.ini) the 'newsletters tables', I can see some fields from those sent mails. The problem is that other fields like 'recipients' seem to go to 'join_table' that seems to be 'newsletters__newsletters', but nothing in that table.
How can I show complete information of sent mails with the module?
2.- I'm trying to add attachment to emails. I would like to know if it is already implemented through configuration files or I have to code it. If I have to code it, is this what I should do?:
- Modify newsletters table creation (in email.php) to add blow field
- Modify email template to add upload field. (maybe this is not necessary if I do previous modification as email_form.html seems to get fields from table)
- Modify email.php to extract blob data from table and add it to //$at[] = MIME::message('source file', 'text/plain', 'file.txt', 'ISO-8859-1', 'base64', 'attachment'); (better to get file_type automatically before)
Another option (maybe better one) will be to add upload field to template and save it to disk and delete it after sending email.
Thanks in advance!