My C++/Perl CMS, database admin program & mailer currently has 3 default emails that can be sent to each new subscribers ...
1) A "thank you for your order" email is sent to new subscribers immediately after signup
2) An "subscriber information" email with links to member areas is sent to new subscribers immediately after signup
3) A "renewal" email is sent to the subscriber when the subscription expires. This email repeats at the end of each subscription period (for example every 30 days).
I want to be able to add at least 3 more emails that can be sent at different times during the subscription period and be able to pre-set when the emails are sent (example: send one email 2 weeks after the customer signs up, and another email sent one week before the subscription ends.
Note: My custom program is made up of approx 100 source files (.cc) and header files (.h), 50 object files (.o) and 20 perl scripts.