Choose one of these services to enable email notifications without server restrictions:
1. Go to https://zapier.com
2. Click "Sign up for free"
3. Use your email (breezytestmail@gmail.com) to create account
4. Verify your email address
1. Click "Create Zap" button
2. In the trigger section, search for "Webhooks by Zapier"
3. Select "Catch Hook" as the trigger event
4. Click "Continue"
1. Zapier will show you a webhook URL like:
2. COPY THIS URL - YOU'LL NEED IT LATER!
3. Click "Continue"
4. Click "Skip test" for now
1. In the action section, search for "Gmail" (or your preferred email service)
2. Select "Send Email" as the action
3. Connect your Gmail account (breezytestmail@gmail.com)
4. Authorize Zapier to access your Gmail
Set up the email fields using webhook data:
1. Click "Test action" to send a test email
2. Check your email to confirm it works
3. Click "Publish Zap" to activate it
4. Name your Zap: "GISQO Leave Notifications"
1. Open the file: includes/webhook_email.php
2. Find this line:
3. Replace YOUR_ZAPIER_HOOK_ID with your actual webhook URL
4. Save the file
1. Go to https://make.com
2. Click "Get started free"
3. Sign up with your email
4. Verify your account
1. Click "Create a new scenario"
2. Search for "Webhooks" and select it
3. Choose "Custom webhook"
4. Click "Add" to add the webhook module
1. Click on the webhook module
2. Click "Add" to create a new webhook
3. Give it a name: "GISQO Email Webhook"
4. Copy the webhook URL that appears
1. Click the "+" button after the webhook
2. Search for "Gmail" (or your email service)
3. Select "Send an Email"
4. Connect your Gmail account
Configure the email using webhook data:
1. Click "Run once" to test
2. Send a test webhook to verify
3. Turn on the scenario (toggle switch)
4. Update your webhook URL in the code
1. Go to https://emailjs.com
2. Click "Sign Up"
3. Create account with your email
4. Verify your email address
1. Go to "Email Services" in dashboard
2. Click "Add New Service"
3. Choose "Gmail" (or your provider)
4. Connect your Gmail account (breezytestmail@gmail.com)
5. Note the Service ID (e.g., "service_abc123")
1. Go to "Email Templates"
2. Click "Create New Template"
3. Set up template with these variables:
4. Note the Template ID (e.g., "template_xyz789")
1. Go to "Account" โ "General"
2. Copy your Public Key
3. Copy your Service ID
4. Copy your Template ID
1. Open includes/webhook_email.php
2. Find the EmailJS function
3. Update with your credentials:
After setting up any service, test it by visiting:
This will send a test email to verify your setup works.
1. Submit a leave request from employee dashboard
2. Check breezytestmail@gmail.com for notification
3. Check the notifications table in database as backup
Start with Zapier - it's the easiest to set up and most reliable. You can always switch to other services later if needed.
The system will automatically try multiple methods, so even if one fails, others will work as backup.