uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
css
/
.
/
..
/
DOCS
/
..
/
css
/
..
/
mail2.php
/
/
<?php include 'header.php'; ?> <div id="content" role="main"> <hr /> <div class="p70 right"> <h3 style="text-align: center">Email Sent</h3> <mark id="message"></mark> <?php if(!empty($_POST['name']) && !empty($_POST['email']) && !empty($_POST['phone'])) { $name = htmlspecialchars($_POST['name']); $email = htmlspecialchars($_POST['email']); $phone = htmlspecialchars($_POST['phone']); $country = htmlspecialchars($_POST['country']); $comment = htmlspecialchars($_POST['comment']); if (filter_var($email, FILTER_VALIDATE_EMAIL)) { $to = "info@wtmwebshop.com"; $subject = "Contact Us (Client's Queries)"; $txt = ' <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> table{width:600px; border-collapse:collapse; table-layout:auto; vertical-align:top; margin-bottom:15px; border:1px solid #CCCCCC;} table thead th{color:#FFFFFF; background-color:#666666; border:1px solid #CCCCCC; border-collapse:collapse; text-align:center; table-layout:auto; vertical-align:middle;} table tbody td{vertical-align:top; border-collapse:collapse; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC;} table thead th, table tbody td{padding:5px; border-collapse:collapse;} table tbody tr.light{color:#666666; background-color:#F7F7F7;} table tbody tr.dark{color:#666666; background-color:#E8E8E8;} p{color: navy; font-size: 14px;} p a{ color: orangered; text-decoration: none;} p a:hover{text-decoration: underline;} </style> </head> <body> <table> <thead> <th colspan="2" style="text-align: left;">Query of client to wtmwebshop.com, Client Login Details is as Follow</th> </thead> <tbody> <tr class="dark"> <td width="200" align="right">Clients Name </td> <td>' . $name . '</td> </tr> <tr class="light"> <td width="200" align="right">Clients Email </td> <td>' . $email . '</td> </tr> <tr class="dark"> <td width="200" align="right">Clients Phone </td> <td>' . $phone . '</td> </tr> <tr class="light"> <td width="200" align="right">Clients Country </td> <td>' . $country . '</td> </tr> <tr class="dark"> <td width="200" align="right">Clients Comment </td> <td>' . $comment . '</td> </tr> </tbody> </table> <p>Please keep it confidential. Please login <a href="http://wtmwebshop.com/">www.wtmwebshop.com</a></p> <p style="color: #556b2f;"> Thanks <br /> <b>The Wtm WebShop Pvt. Ltd.</b> </p> </body> </html>'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: info@wtmwebshop.com' . "\r\n"; $headers .= 'Reply-To: ' . $email . "\r\n"; $headers .= 'X-Mailer: PHP/' . phpversion(); if (mail($to, $subject, $txt, $headers)) { echo "<p style='text-align: center;'>Thank you for contacting us.<br/>We will contact you as soon as possible.<br/><br/> <span style='color: cornflowerblue;'></span><p>"; } else { echo "<p style='text-align: center;'>There was a problem sending your email. Please try again later.<p>"; error_log("Mail send failed for email: $email"); } } else { echo "<p style='text-align: center;'>Invalid email address.<p>"; } } else { echo "<p style='text-align: center;'>All fields are required.<p>"; } ?> </div> </div> <!-- END #content --> </div> <!-- END .wrapper --> <?php include 'footer.php'; ?>
/home2/wtmwscom/public_html/css/./../DOCS/../css/../mail2.php