mirror of
https://github.com/myronblair/smtp-for-websites
synced 2026-06-30 17:50:58 -05:00
Switch epic/parkerslingshot/PSR to CyberMail API; add orbishosting.com SMTP creds
This commit is contained in:
@@ -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
|
||||
|
||||
+20
-3
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user