<?php include "mail.php"; echo $feedName; $from="beatit@findmystay.com"; $to=$pemail; $emailSubject="Contest Participation Acknowledgement Mail"; $recieverEmail=$email; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=UTF-8\n'; //actual mail body goes here... $body=' <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>Beat It Contest</title> <style> body{font:normal 13px/16px Arial, Helvetica, sans-serif; margin:0px; padding:0px;} .outertable{width:500px; border:1px solid #dddddd;} img.mainimg {width: 100% !important;} @media only screen and (max-width: 600px) { body{font:normal 13px/16px Arial, Helvetica, sans-serif;} img.mainimg {width: 100% !important;} .outertable{width:100%; border:1px solid #dddddd;} } </style> </head> <body > <table cellspacing="4" cellpadding="0" border="1"> <tr><td colspan="2">New Feedback</td></tr> <tr> <td>Suggestion Type</td><td>'.$suggestion.'</td> <td>Comment Type</td><td>'.$subject.'</td> <td>Feedback </td><td>'.$comments.'</td> <td>Name</td><td>'.$feedName.'</td> <td>Email</td><td>'.$femail.'</td> <td>Telephone</td><td>'.$ftel.'</td> <td>Fax</td><td>'.$ffax.'</td> </tr> </table> </body> </html>'; $from=$pemail; $to=$recieverEmail; $subject=$emailSubject; #$body=nl2br($body); #$body=strip_tags($body); if(empty($to) && empty($subject) && empty($body)){ $msg .= "<div style='padding:7px;border:1px solid #fdd3ed;background:#fef1f9;color:#d22790;font-weight:normal;'>There is something missing before email could be delivered. Please consider filling all fields.</div>"; } else { $SMTPMail = new SMTPClient ($SmtpServer, $SmtpPort, $SmtpUser, $SmtpPass, $from, $to, $subject, $body, $headers); $SMTPChat = $SMTPMail->SendMail(); if($SMTPChat){ $msg .= "<div style='padding:7px;border:1px solid #aad4fb;background:#ecf6ff;color:#05427a;'>Email successfully sent to ". $to ."</div>"; } else { $msg .= "<div style='padding:7px;border:1px solid #fdd3ed;background:#fef1f9;color:#d22790;font-weight:normal;'>Email couldn't be delivered. Please try again.</div>"; } } ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.well-known | Folder | 0755 |
|
|
HCCOLD | Folder | 0755 |
|
|
PHPMailer | Folder | 0755 |
|
|
__MACOSX | Folder | 0755 |
|
|
cgi-bin | Folder | 0755 |
|
|
css | Folder | 0755 |
|
|
docs | Folder | 0755 |
|
|
doteasy-under-construction | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
usage | Folder | 0755 |
|
|
webalizer | Folder | 0755 |
|
|
Ganesh.MP4 | File | 3.37 MB | 0644 |
|
HCCOLD.zip | File | 177.23 MB | 0644 |
|
MataKiChowki2022.pdf | File | 2.08 MB | 0644 |
|
Video.html | File | 278 B | 0644 |
|
aboutus.html | File | 18.54 KB | 0644 |
|
aboutus.php | File | 68.01 KB | 0644 |
|
admin.php | File | 5.24 KB | 0644 |
|
contactus.html | File | 16.09 KB | 0644 |
|
contactus.php | File | 18.08 KB | 0644 |
|
education.html | File | 11.7 KB | 0644 |
|
error_log | File | 154 B | 0644 |
|
feedback.php | File | 2.23 KB | 0644 |
|
fields | File | 373 B | 0644 |
|
index.php | File | 26.46 KB | 0644 |
|
knh.txt | File | 1 B | 0644 |
|
mail.html | File | 3.81 KB | 0644 |
|
mail.php | File | 1.5 KB | 0644 |
|
memberservices.html | File | 22.94 KB | 0644 |
|
memberservices.php | File | 26.02 KB | 0644 |
|
membership.php | File | 5.99 KB | 0644 |
|
organization.html | File | 8.92 KB | 0644 |
|
publications.html | File | 16.14 KB | 0644 |
|
resources.html | File | 25.07 KB | 0644 |
|
robots.txt | File | 74 B | 0644 |
|
sendfeedback.php | File | 2.08 KB | 0644 |
|
sendmail.php | File | 767 B | 0644 |
|
sendmembership.php | File | 3.7 KB | 0644 |
|
settings.php | File | 5.82 KB | 0644 |
|
ss.php | File | 101.11 KB | 0644 |
|
validation.php | File | 609 B | 0644 |
|
worship-May2022.html | File | 32.09 KB | 0644 |
|
worship-old.html | File | 31.6 KB | 0644 |
|
worship.html | File | 32.09 KB | 0644 |
|