Horje
wordpress PHPMailer config Code Example
wordpress PHPMailer config
add_action( 'phpmailer_init', 'setup_phpmailer_init' );
function setup_phpmailer_init( $phpmailer ) {
    $phpmailer->Host = 'HOSTNAME'; // for example, smtp.mailtrap.io
    $phpmailer->Port = 587; // set the appropriate port: 465, 2525, etc.
    $phpmailer->Username = 'YOURUSERNAME'; // your SMTP username
    $phpmailer->Password = 'YOURPASSWORD'; // your SMTP password
    $phpmailer->SMTPAuth = true;
    $phpmailer->SMTPSecure = 'tls'; // preferable but optional
    $phpmailer->IsSMTP();
Source: mailtrap.io




Php

Related
get ip in laravel Code Example get ip in laravel Code Example
php pdo connection Code Example php pdo connection Code Example
sort multi array php Code Example sort multi array php Code Example
Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) Code Example Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) Code Example
call to undefined function mysql_connect() Code Example call to undefined function mysql_connect() Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12