Jokeir 07x HK Morocco





Server : Apache/2
System : Linux server1.tkcorporation.co.th 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 i686
User : ifixit ( 537)
PHP Version : 5.3.29
Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source
Directory :  /home/ifixit/public_html/assets/PHPMailer/docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/ifixit/public_html/assets/PHPMailer/docs/Note_for_SMTP_debugging.txt
If you are having problems connecting or sending emails through your SMTP server, the SMTP class can provide more information about the processing/errors taking place.
Use the debug functionality of the class to see what's going on in your connections. To do that, set the debug level in your script. For example:

$mail->SMTPDebug = 1;
$mail->isSMTP();  // telling the class to use SMTP
$mail->SMTPAuth   = true;                // enable SMTP authentication
$mail->Port       = 26;                  // set the SMTP port
$mail->Host       = "mail.yourhost.com"; // SMTP server
$mail->Username   = "[email protected]"; // SMTP account username
$mail->Password   = "your password";     // SMTP account password

Notes on this:
$mail->SMTPDebug = 0; ... will disable debugging (you can also leave this out completely, 0 is the default)
$mail->SMTPDebug = 1; ... will echo errors and server responses
$mail->SMTPDebug = 2; ... will echo errors, server responses and client messages

And finally, don't forget to disable debugging before going into production.

COPYRIGHT Dimax66