<?php require_once('PHPMailer/class.phpmailer.php'); $subject = "New Membership Request"; $email_text = ' <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="2" cellpadding="3" border="1" width="100%"> <tr> <td colspan="2"> </td> </tr> <tr> <td>First Name </td> <td>'.$fname.'</td> </tr> <tr> <td>Last Name </td> <td>'.$lname.'</td> </tr> <tr> <td>Middile Initial </td> <td>'.$minit.'</td> </tr> <tr> <td>Title/Salutation </td> <td>'.$ptitle.'</td> </tr> <tr> <td>Occupation </td> <td>'.$pccoup.'</td> </tr> <tr> <td>Street Address </td> <td>'.$sadd.'</td> </tr> <tr> <td>Address(Continued) </td> <td>'.$cadd.'</td> </tr> <tr> <td>City </td> <td>'.$city.'</td> </tr> <tr> <td>Province/State </td> <td>'.$pstate.'</td> </tr> <tr> <td>Postal/Zip Code </td> <td>'.$pcode.'</td> </tr> <tr> <td>Country </td> <td>'.$country.'</td> </tr> <tr> <td>Work Phone </td> <td>'.$wphone.'</td> </tr> <tr> <td>Home Phone </td> <td>'.$hphone.'</td> </tr> <tr> <td>Fax </td> <td>'.$fax.'</td> </tr> <tr> <td>E-mail </td> <td>'.$pemail.'</td> </tr> <tr> <td>URL </td> <td>'.$purl.'</td> </tr> <tr> <td>Sex </td> <td>'.$psex.'</td> </tr> <tr> <td>URL </td> <td>'.$purl1.'</td> </tr> <tr> <td>Country of Birth </td> <td>'.$bcountry.'</td> </tr> <tr> <td>Date of Birth <d/td> <td>'.$dob.'</td> </tr> <tr> <td>Marital Status </td> <td>'.$mstatus.'</td> </tr> <tr> <td>Spouse First Name </td> <td>'.$sname.'</td> </tr> <tr> <td>Number of Childeren </td> <td>'.$nchilderen.'</td> </tr> <tr> <td>Name of Childeren & Birthdates </td> <td>'.$cdescription.'</td> </tr> <tr> <td>Special Skills </td> <td>'.$Application_SkillsTalents.'</td> </tr> <tr> <td>Others if not in skilled list </td> <td>'.$sothers.'</td> </tr> </table> </body> '; $mail = new PHPMailer(true); $mail->IsSMTP(); try { $mail->SMTPDebug = 1; $mail->SMTPAuth = true; $mail->SMTPSecure = $smtp_secure; $mail->Host = $smtp_host; $mail->Port = $smtp_port; $mail->Username = $smtp_username; $mail->Password = $smtp_password; $mail->AddAddress(trim($to), $toname); $mail->SetFrom($from, $fromname); $mail->Subject = $subject; $mail->MsgHTML($email_text); $mail->Send(); echo "Mail Send to ".trim($toname)."<br />"; echo "<script>alert('Thanks for application. We will get back to you soon')</script>"; echo "<script>window.open('memberservices.php', '_parent')</script>"; } catch (phpmailerException $e) { echo $e->errorMessage(); } catch (Exception $e) { echo $e->getMessage(); } ?>
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 |
|