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
|
||||
|
||||
Reference in New Issue
Block a user