<?php //DO NOT CHANGE ANYTHING BELOW THIS LINE class SMTPClient { function SMTPClient ($SmtpServer, $SmtpPort, $SmtpUser, $SmtpPass, $from, $to, $subject, $body, $headers) { $this->SmtpServer = $SmtpServer; $this->SmtpUser = base64_encode ($SmtpUser); $this->SmtpPass = base64_encode ($SmtpPass); $this->from = $from; $this->to = $to; $this->subject = $subject; $this->body = $body; if ($SmtpPort == "") { $this->PortSMTP = 25; } else { $this->PortSMTP = $SmtpPort; } } function SendMail () { if ($SMTPIN = fsockopen ($this->SmtpServer, $this->PortSMTP)) { fputs ($SMTPIN, "EHLO ".$HTTP_HOST."\r\n"); $talk["hello"] = fgets ( $SMTPIN, 2048 ); fputs($SMTPIN, "auth login\r\n"); $talk["res"]=fgets($SMTPIN,2048); fputs($SMTPIN, $this->SmtpUser."\r\n"); $talk["user"]=fgets($SMTPIN,2048); fputs($SMTPIN, $this->SmtpPass."\r\n"); $talk["pass"]=fgets($SMTPIN,512); fputs ($SMTPIN, "MAIL FROM: <".$this->from.">\r\n"); $talk["From"] = fgets ( $SMTPIN, 2048 ); fputs ($SMTPIN, "RCPT TO: <".$this->to.">\r\n"); $talk["To"] = fgets ($SMTPIN, 2048); fputs($SMTPIN, "DATA\r\n"); $talk["data"]=fgets( $SMTPIN,2048 ); fputs($SMTPIN, "To: <".$this->to.">\r\nFrom: <".$this->from.">\r\nSubject:".$this->subject."\r\n\r\n\r\n".$this->body."\r\n.\r\n"); $talk["send"]=fgets($SMTPIN,512); //CLOSE CONNECTION AND EXIT ... fputs ($SMTPIN, "QUIT\r\n"); fclose($SMTPIN); } return $talk; } } ?>
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 |
|