two email from same action (button pressed)
I trying to find the best way to handle emails from my page.
Basically I have a page that will insert a record in a database along with 2 emails.
- email1: contains an HTML message and an attachment and will be sent to address1;
- email2: contains the same HTML message as email1, but has NO attachments and will be sent to address2;
I can't understand how to set up them independently one from each other.
When I add an attachment to one of them, the same aatcchment appears in the other and vice versa.
The only way I found is to delete (drop) the email_logs table and let the WA server behaviour recreate it from scratch (with the default log fields).
It seems a bit buggy here.
Is there a way to edit email template easily? If I use the dreamweaver button for editing it, a file is opened and closed as soon as I end the editing. Where is this file? can I edit a standalone file for the email body?
TIA for any suggestion.