What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-23 17:00:16
kirim email using codeigniter 4
<?php namespace App\Controllers; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; class Kirim_email extends BaseController { public function __construct() &n... Add solution -
PHP 2022-02-02 22:05:42
SMTP -> ERROR: Failed to connect to server: Connection refused (111)SMTP Connect() failed.
<?php include "emails/PHPMailer/PHPMailerAutoload.php"; //or just include the phpMailer //Create a new PHPMailer instance $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 1; $mail->SMTPAuth =... Add solution -
Shell/Bash 2021-11-05 00:10:17
phpmailer install composer
<?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; // Load Composer's autolo... Add solution -
PHP 2021-09-10 00:42:02
phpmailer example php
<?php require_once('class.phpmailer.php'); $mailer = new PHPMailer(); $mailer->IsSMTP(); $mailer->SMTPDebug = 1; $mailer->Port = 587; //Indica a porta de conexão $mailer->Host = 'smtplw.com.br';//Endereço do Host do SMTP $... Add solution