# ๐ง Fix EmailJS Template - "Recipients address is empty" Error ## Problem EmailJS is expecting specific variable names in your template that match what the app is sending. ## Solution: Update Your EmailJS Template ### 1. Go to EmailJS Dashboard 1. Visit [EmailJS Dashboard](https://dashboard.emailjs.com/) 2. Go to **Email Templates** 3. Click on your template (`template_nlh9jpe`) ### 2. Update Template Settings **To Email Field:** ``` {{to_email}} ``` **Subject Field:** ``` {{subject}} ``` **Content/Body Field:** ```html
From: {{from_name}}
To: {{to_email}}
CC: {{cc_email}}
BCC: {{bcc_email}}
Priority: {{priority}}
Sent via Mail Composer App
Reply to: {{reply_to}}
``` ### 3. Important Settings Make sure these settings are correct in your template: - **To Email**: `{{to_email}}` - **From Name**: Your name or "Mail Composer" - **From Email**: Your verified email address - **Subject**: `{{subject}}` ### 4. Save Template Click **Save** after making these changes. ## ๐งช Test Again After updating the template: 1. **Refresh your mail composer app** 2. **Try sending a test email** to yourself 3. **Check for success message**: "Email sent successfully via EmailJS!" ## ๐ Debug Tips If it still doesn't work: 1. **Check browser console** (F12) for detailed error messages 2. **Verify email addresses** are valid 3. **Try sending to yourself first** 4. **Check EmailJS dashboard** for send logs ## โ Expected Result After fixing the template, you should see: - โ Success message in the app - ๐ง Email in recipient's inbox - ๐ Successful send in EmailJS dashboard Try updating your template and test again!