2025-06-18 05:17:33 +00:00
|
|
|
<?php
|
|
|
|
|
// Email configuration
|
|
|
|
|
// For production, use environment variables or a secure config file
|
|
|
|
|
|
|
|
|
|
// SMTP Configuration
|
|
|
|
|
define('SMTP_HOST', 'smtp.gmail.com'); // Your SMTP server
|
|
|
|
|
define('SMTP_PORT', 587); // SMTP port (587 for TLS, 465 for SSL)
|
2026-03-21 09:48:46 +00:00
|
|
|
define('SMTP_USERNAME', 'info@ukaiautomation.co.uk'); // Your email
|
2025-06-18 05:17:33 +00:00
|
|
|
define('SMTP_PASSWORD', 'YOUR_APP_PASSWORD_HERE'); // Your app password
|
|
|
|
|
define('SMTP_ENCRYPTION', 'tls'); // 'tls' or 'ssl'
|
|
|
|
|
|
|
|
|
|
// Email Settings
|
2026-03-21 09:48:46 +00:00
|
|
|
define('EMAIL_FROM', 'info@ukaiautomation.co.uk');
|
|
|
|
|
define('EMAIL_FROM_NAME', 'UK AI Automation');
|
|
|
|
|
define('EMAIL_TO', 'info@ukaiautomation.co.uk');
|
2025-06-18 05:17:33 +00:00
|
|
|
|
|
|
|
|
// Fallback to PHP mail() if SMTP fails
|
|
|
|
|
define('USE_SMTP', false); // Set to true when SMTP is configured
|
|
|
|
|
?>
|