Switch epic/parkerslingshot/PSR to CyberMail API; add orbishosting.com SMTP creds

This commit is contained in:
2026-05-29 14:31:42 +00:00
parent 9aea457588
commit e5016a8df6
4 changed files with 55 additions and 32 deletions
+7 -14
View File
@@ -1,19 +1,15 @@
# parkerslingshot.epictravelexpeditions.com — Email Configuration
**Provider:** Mailjet (placeholder — NOT configured)
**Status:** ⚠️ API keys not set — emails are silently dropped
**Provider:** CyberMail by CyberPersons
**Status:** ✅ LIVE — uses orbishosting.com verified domain
**Sending domain:** orbishosting.com
## Current State
The site uses Mailjet API keys set to placeholder values.
Email sending is disabled until real keys are provided.
## Config File
## Config File (gitignored — db.php)
`/home/epictravelexpeditions.com/parkerslingshot/db.php`
```php
define("MAILJET_API_KEY", "YOUR_MAILJET_API_KEY");
define("MAILJET_SECRET_KEY", "YOUR_MAILJET_SECRET_KEY");
define("MAIL_FROM", "noreply@parkerslingshotrentals.com");
define("CYBERMAIL_API_KEY", "sk_live_d52bf062797105aeaafac9954c21ff988e9b41b77315807d");
define("MAIL_FROM", "noreply@orbishosting.com");
define("MAIL_FROM_NAME", "Parker County Slingshot Rentals");
define("ADMIN_EMAIL", "info@parkerslingshotrentals.com");
```
@@ -21,8 +17,5 @@ define("ADMIN_EMAIL", "info@parkerslingshotrentals.com");
## Emails Sent
- Booking confirmation → customer
- Booking alert → admin
- Payment declined notice → customer + admin
- Waiver signed confirmation → customer + admin
## Note
The `sendEmail()` function uses Mailjet REST API. Could be switched to CyberMail
by replacing the Mailjet endpoint/auth with CyberMail API.