- Add PrayerChain component for visualizing linked prayers - Add SharePrayer component with social media integration (Twitter, Facebook, WhatsApp, copy link) - Create /testimonies page for public answered prayer stories - Update Firestore rules for public testimony access - Enhance Organization tab with prayer chains - Add Testimonies navigation tab - Fix Firebase Admin SDK integration for server-side operations - Improve email system with proper server-side authentication - Update prayer form to handle optional fields correctly - Deploy updated Firestore security rules
34 lines
1.5 KiB
JavaScript
34 lines
1.5 KiB
JavaScript
// Setup SMTP configuration via browser Admin panel
|
|
// This is the easiest method!
|
|
|
|
console.log('🔧 SMTP Configuration Setup for Prayer App');
|
|
console.log('==========================================\n');
|
|
console.log('📋 The easiest way to configure SMTP is through the Admin panel:');
|
|
console.log('');
|
|
console.log('1. Open your browser and go to: http://localhost:3000/admin');
|
|
console.log('2. Log in with an admin account');
|
|
console.log('3. Look for the "SMTP Configuration" section');
|
|
console.log('4. Fill in your email provider details:');
|
|
console.log('');
|
|
console.log(' For Gmail:');
|
|
console.log(' - Host: smtp.gmail.com');
|
|
console.log(' - Port: 587');
|
|
console.log(' - Secure: unchecked');
|
|
console.log(' - Username: your-gmail@gmail.com');
|
|
console.log(' - Password: your Gmail App Password');
|
|
console.log(' - From Email: your-gmail@gmail.com');
|
|
console.log('');
|
|
console.log(' For Outlook:');
|
|
console.log(' - Host: smtp-mail.outlook.com');
|
|
console.log(' - Port: 587');
|
|
console.log(' - Secure: unchecked');
|
|
console.log(' - Username: your-email@outlook.com');
|
|
console.log(' - Password: your Outlook password');
|
|
console.log(' - From Email: your-email@outlook.com');
|
|
console.log('');
|
|
console.log('5. Click "Save SMTP Configuration"');
|
|
console.log('6. Test with: node test-email.js');
|
|
console.log('');
|
|
console.log('💡 To get Gmail App Password:');
|
|
console.log(' https://myaccount.google.com/apppasswords');
|
|
console.log(' (Enable 2FA first, then generate App Password for "Mail")'); |