Payment Sent - SEFER

Thank you for being a valued driver on the SEFER platform.

SEFER has sent a payment of $totalAmount to your account. Please note that it may take a few days for the bank to process this transaction.

We appreciate your service and hope to continue our partnership.

Regards,
SEFER Team

"; // Arabic email content $bodyEmailAr = "
SEFER

تم إرسال الدفع - سفر

شكراً لك على كونك سائقًا متميزًا على منصة سفر.

لقد أرسلت سفر دفعة قدرها $totalAmount إلى حسابك. يرجى ملاحظة أنه قد يستغرق البنك عدة أيام لمعالجة هذه المعاملة.

نحن نقدر خدمتك ونأمل أن نستمر في شراكتنا.

مع خالص التحية،
فريق سفر

"; // Set the email headers $supportEmail = 'seferteam@sefer.live'; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; $headers .= "From: $supportEmail\r\n"; // Send email to the driver if (!empty($driverEmail)) { if (mail($driverEmail, "Payment Sent - SEFER", $bodyEmail, $headers)) { // echo "Email sent successfully to $driverEmail"; printSuccess($message = "'Email sent successfully to ' . $driverEmail"); } else { printFailure($message = "Failed to send email to ' . $driverEmail"); } } else { printFailure($message = "Invalid email address: ' . $driverEmail"); } ?>