From e5016a8df637f8848156d146d533b5942d57834f Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Fri, 29 May 2026 14:31:42 +0000 Subject: [PATCH] Switch epic/parkerslingshot/PSR to CyberMail API; add orbishosting.com SMTP creds --- epictravelexpeditions.com.md | 21 +++++++++--------- orbishosting.com.md | 23 +++++++++++++++++--- parkerslingshot.epictravelexpeditions.com.md | 21 ++++++------------ parkerslingshotrentals.com.md | 22 +++++++++++++++---- 4 files changed, 55 insertions(+), 32 deletions(-) diff --git a/epictravelexpeditions.com.md b/epictravelexpeditions.com.md index 44b7cbd..9db4ede 100644 --- a/epictravelexpeditions.com.md +++ b/epictravelexpeditions.com.md @@ -1,26 +1,25 @@ # epictravelexpeditions.com — Email Configuration -**Provider:** SendGrid (placeholder — NOT configured) -**Status:** ⚠️ API key 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 a SendGrid API key that is set to a placeholder value (`SG.YOUR_KEY_HERE`). -Email sending is disabled until a real key is provided. - -## Config File +## Config File (gitignored) `/home/epictravelexpeditions.com/public_html/api/config.php` ```php -define("SENDGRID_API_KEY", "SG.YOUR_KEY_HERE"); // <-- needs real key -define("MAIL_FROM", "noreply@epictravelexpeditions.com"); +define("CYBERMAIL_API_KEY", "sk_live_d52bf062797105aeaafac9954c21ff988e9b41b77315807d"); +define("MAIL_FROM", "noreply@orbishosting.com"); define("MAIL_FROM_NAME", "Epic Travel Expeditions"); define("ADMIN_EMAIL", "admin@epictravelexpeditions.com"); ``` ## Mailer File `/home/epictravelexpeditions.com/public_html/api/includes/mailer.php` -Uses `sendgridSend()` — can be swapped to CyberMail same as other sites. +- `sendgridSend()` — now calls CyberMail API (name kept for backward compat) +- `sendContactAlert()` — contact form → admin +- `sendContactConfirmation()` — auto-reply to visitor ## Emails Sent - Contact form submissions → admin -- Newsletter signups +- Contact confirmation → visitor diff --git a/orbishosting.com.md b/orbishosting.com.md index d33a697..2840503 100644 --- a/orbishosting.com.md +++ b/orbishosting.com.md @@ -1,4 +1,21 @@ -# orbishosting.com — Email Configuration +# orbishosting.com — Email Configuration (Shared SMTP Domain) -**Status:** No transactional email configured. -Static marketing site — no forms or email sending found. +**Provider:** CyberMail by CyberPersons +**Status:** ✅ LIVE — domain verified +**Used as sending domain for:** epictravelexpeditions.com, parkerslingshot, parkerslingshotrentals.com + +## API Credentials (use over HTTPS — DO blocks SMTP port 587) +- **API Key:** `sk_live_d52bf062797105aeaafac9954c21ff988e9b41b77315807d` +- **Endpoint:** `POST https://platform.cyberpersons.com/email/v1/send` +- **Auth:** `Authorization: Bearer {api_key}` +- **From:** `noreply@orbishosting.com` + +## SMTP Credentials (for non-DO servers) +- **Host:** mail.cyberpersons.com +- **Port:** 587 +- **Security:** STARTTLS +- **Username:** `smtp_6ab6cbe01dd919d7` +- **Password:** `BRYog0jWCrI4vMm3AlTwyXXo5MVzvSmU` + +## CyberMail Dashboard +- https://platform.cyberpersons.com diff --git a/parkerslingshot.epictravelexpeditions.com.md b/parkerslingshot.epictravelexpeditions.com.md index 7eedf61..a0a09d9 100644 --- a/parkerslingshot.epictravelexpeditions.com.md +++ b/parkerslingshot.epictravelexpeditions.com.md @@ -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. diff --git a/parkerslingshotrentals.com.md b/parkerslingshotrentals.com.md index 5d4098a..08f798d 100644 --- a/parkerslingshotrentals.com.md +++ b/parkerslingshotrentals.com.md @@ -1,7 +1,21 @@ # parkerslingshotrentals.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 -Same email setup as parkerslingshot.epictravelexpeditions.com. -See that file for details. +## Config File (in git — db.php) +`/home/parkerslingshotrentals.com/public_html/db.php` + +```php +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"); +``` + +## Emails Sent +- Booking confirmation → customer +- Booking alert → admin +- Waiver signed confirmation → customer + admin +- Admin manual reminder → customer (from admin panel)