���� JFIF fdasasfas213sdaf
Server IP : 147.79.69.148 / Your IP : 216.73.216.200 Web Server : LiteSpeed System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64 User : u479334040 ( 479334040) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u479334040/domains/digital4leads.com/public_html/shiva-engineering/ |
Upload File : |
<?php @extract($_POST); if(isset($submit_form)){ // echo "<pre>"; // print_r($_POST); // echo "</pre>"; $to = 'info@theconsultingtroops.com'; $from = 'adjoint.inquiry@gmail.com'; $fromName = 'The Consulting Troops'; $subject = "You have received an enquiry!"; $message = ' <html> <head> <title>You have received an enquiry!</title> </head> <body> <p>Hi,</p> <h2>You have received an enquiry</h2> <table cellspacing="0" style="border: 2px dashed #FB4314; width: 100%;"> <tr> <th>Name:</th><td>'.$name.'</td> </tr> <tr> <th>Email:</th><td>'.$email.'</td> </tr> <tr> <th>Mobile:</th><td>'.$mobile.'</td> </tr> <tr> <th>City:</th><td>'.$city.'</td> </tr> <tr> <th>Message:</th><td>'.$message.'</td> </tr> </table> </body> </html>'; // Set content-type header for sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // Additional headers $headers .= 'From: '.$fromName.'<'.$from.'>' . "\r\n"; //$headers .= 'Cc: welcome@example.com' . "\r\n"; //$headers .= 'Bcc: welcome2@example.com' . "\r\n"; if(mail($to,$subject,$message,$headers)){ echo "Your enquiry has been submitted successfully"; }else{ echo "mail sending failed"; } } ?>