Update: 2026-06-16 02:52:06
This commit is contained in:
@@ -43,7 +43,7 @@ tr:nth-child(even) { background-color: #f2f2f2; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src='https://api.tripz-egypt.com/tripz/images/logo%20(1).png' alt='Tripz Logo' style='width: 150px; margin: 20px auto; display: block;'>
|
||||
<img src='https://siromove.com/assets/logo.png' alt='Siro Logo' style='width: 150px; margin: 20px auto; display: block;'>
|
||||
<p>Hi $passengerName,</p>
|
||||
<p>Thank you for booking your ride with <strong>Tripz</strong>. Here are the details of your recent trip:</p>
|
||||
<table>
|
||||
@@ -71,12 +71,12 @@ try {
|
||||
$mail->isSMTP();
|
||||
$mail->Host = 'smtp.hostinger.com';
|
||||
$mail->SMTPAuth = true;
|
||||
$mail->Username = 'hamzaayed@tripz-egypt.com';
|
||||
$mail->Password = $TRIPZ_SMTP_PASSWORD;
|
||||
$mail->Username = getenv('MAIL_USERNAME') ?: 'noreply@siromove.com';
|
||||
$mail->Password = getenv('MAIL_PASSWORD') ?: '';
|
||||
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
|
||||
$mail->Port = 587;
|
||||
|
||||
$mail->setFrom('hamzaayed@tripz-egypt.com', 'Tripz');
|
||||
$mail->setFrom(getenv('MAIL_FROM_ADDRESS') ?: 'noreply@siromove.com', getenv('MAIL_FROM_NAME') ?: 'Siro');
|
||||
$mail->addAddress($passengerEmail, $passengerName);
|
||||
$mail->isHTML(true);
|
||||
$mail->Subject = 'Your Tripz Trip Details';
|
||||
|
||||
Reference in New Issue
Block a user