Viewing 1 replies (of 1 total)
  • If it is timing out, the problem is due to your host not supporting ipv6 addresses. The plugin needs to make a special case for this problem. The specific changes to the code (in swpsmtp_test_mail & swpsmtp_init_smtp) are these two lines added after $mail->Host has been set:

    $mail->Host = gethostbyname($mail->Host); // converts name to ipv4 address
    $mail->SMTPOptions = array('ssl' => array('verify_peer_name' => false));

    The first line forces the host to be an ipv4 address. The second line allows the use if just an ip address instead of a domain name for authentication.

    If you need help in resolving this issue, please contact me at WPThunder.com. I specialize in WordPress fixes.

Viewing 1 replies (of 1 total)
  • The topic ‘Error send gmail mail’ is closed to new replies.