2015-04-17 75 views
0

網絡服務器發送:本地主機(WAMP)MantisBT:驗證郵件未在我的Gmail

錯誤顯示在註冊時:

系統警告:「stream_socket_enable_crypto()[streams.crypto]:這個 流不支持SSL /加密」在 'C:\瓦帕\ WWW \錯誤追蹤\庫\ PHPMailer的\ class.smtp.php' 線249

代碼在爲config_inc.php

<?php 
$g_hostname = 'localhost'; 
$g_db_type = 'mysql'; 
$g_database_name = 'bugtracker'; 
$g_db_username = 'root'; 
$g_db_password = ''; 

$g_allow_signup = ON; //allows the users to sign up for a new account 
$g_enable_email_notification = ON; //enables the email messages 
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; // this is most important 
$g_smtp_host = 'smtp.gmail.com'; 
$g_smtp_connection_mode = 'tls'; 
$g_smtp_port = 587; 
$g_smtp_username = '[email protected]'; //replace it with your gmail address 
$g_smtp_password = 'mypassword'; //replace it with your gmail password 
$g_administrator_email = '[email protected]'; //this will be your administrator email address 

我也試圖改變:

$g_smtp_connection_mode = 'ssl'; 
$g_smtp_port = 465; 

我需要什麼補充?

回答