LINKUWANT EMAIL TEMPLATES ========================= STATUS: PLACEHOLDER / DOCUMENTATION STRUCTURE PURPOSE ------- This directory contains email content templates. Templates contain CONTENT and [replacement_fields] only. They do NOT contain production PHP logic. COMMON FILES ------------ header.html Future common HTML email header. footer.html Future common HTML email footer. FORM DIRECTORIES ---------------- Each form directory contains: README.txt Requirements and documentation for that form's communications. user.txt Placeholder email sent to the person submitting the form. admin.txt Placeholder email sent to configured administrator(s). FUTURE EMAIL GENERATOR ---------------------- The future common email generator will be responsible for: - Selecting the correct template - Looking up the submission - Looking up related domain/user data - Normalizing replacement fields - Determining To - Determining From - Determining Reply-To - Determining CC/BCC where required - Supporting multiple administrator recipients - Generating authenticated administrator action URLs - Applying the common email header - Applying the common email footer - Sending - Logging success/failure IMPORTANT --------- Recipient email addresses must NOT be hard-coded into individual templates. Templates must NOT contain: - PHP - SQL - Passwords - Credentials - Database connection information - Authentication logic - Token logic - Sending logic