Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008564TestLink0 - User too Lazy to analize defined categoriespublic2019-02-12 06:552019-04-02 20:38
Reporteruser18204 
Assigned Tofman 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Fixed in Version 
Summary0008564: SMTP Configuration in Test Link
DescriptionHi Team,

Can you please help to resolve this below issue.

I tried with all possible combinations, but nothing worked out.

Waiting for your replay at the earliet..


Fatal error: Uncaught PHPMailer\PHPMailer\Exception: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting [^] in D:\xampp\htdocs\Testlink\vendor\phpmailer\phpmailer\src\PHPMailer.php:1726 Stack trace: #0 D:\xampp\htdocs\Testlink\vendor\phpmailer\phpmailer\src\PHPMailer.php(1481): PHPMailer\PHPMailer\PHPMailer->smtpSend('Date: Tue, 12 F...', '\r\nYour new Test...') #1 D:\xampp\htdocs\Testlink\vendor\phpmailer\phpmailer\src\PHPMailer.php(1320): PHPMailer\PHPMailer\PHPMailer->postSend() 0000002 D:\xampp\htdocs\Testlink\lib\functions\email_api.php(187): PHPMailer\PHPMailer\PHPMailer->send() 0000003 D:\xampp\htdocs\Testlink\lib\functions\users.inc.php(213): email_send('mpavithra.mani2...', 'mpavithra.mani2...', 'Your new TestLi...', 'Your new TestLi...') 0000004 D:\xampp\htdocs\Testlink\lib\usermanagement\usersEdit.php(244): resetPassword(Object(database), 12, 'send_password_b...') 0000005 D:\xampp\htdocs\Testlink\lib\usermanagement\usersEdit.php(58): createNewPassword(Object(database), Object(stdClass), Object(tlUser), in D:\xampp\htdocs\Testlink\vendor\phpmailer\phpmailer\src\PHPMailer.php on line 1726.

My SMTP configurations are

/* [SMTP] */

/**
 * @var string SMTP server name or IP address ("localhost" should work in the most cases)
 * Configure using custom_config.inc.php
 * @uses lib/functions/email_api.php
 */
$g_smtp_host = 'smtp.gmail.com'; # SMTP server MUST BE configured

# Configure using custom_config.inc.php
$g_tl_admin_email = 'mpavithra.mani229@gmail.com'; # for problem/error notification
$g_from_email = 'mpavithra.mani229@gmail.com'; # email sender
$g_return_path_email = 'mpavithra.mani229@gmail.com';

/**
 * Email notification priority (low by default)
 * Urgent = 1, Not Urgent = 5, Disable = 0
 **/
$g_mail_priority = 5;

/**
 * Taken from mantis for phpmailer config
 * select the method to mail by:
 * PHPMAILER_METHOD_MAIL - mail()
 * PHPMAILER_METHOD_SENDMAIL - sendmail
 * PHPMAILER_METHOD_SMTP - SMTP
 */
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;

/** Configure only if SMTP server requires authentication */
$g_smtp_username = 'mpavithra.mani229@gmail.com'; # user
$g_smtp_password = 'XXXXXXXX'; # password

/**
 * This control the connection mode to SMTP server.
 * Can be '', 'ssl','tls'
 * @global string $g_smtp_connection_mode
 */
$g_smtp_connection_mode = 'tls';

/**
 * The smtp port to use. The typical SMTP ports are 25 and 587. The port to use
 * will depend on the SMTP server configuration and hence others may be used.
 * @global int $g_smtp_port
 */
$g_smtp_port = 465;
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0028523)
fman (administrator)
2019-02-12 10:12

TestLink Version used?

do not set to immediate unless you are willing to pay for the resolution
(0028526)
fman (administrator)
2019-02-12 14:40

SMTP with Gmail is not as simple as with your company SMTP server.
Then issue can be the Gmail config.
My advice first try with some SMTP free service different than gmail

please provide feedback
(0028644)
fman (administrator)
2019-04-02 20:38

no more user feedback

- Issue History
Date Modified Username Field Change
2019-02-12 06:55 user18204 New Issue
2019-02-12 10:11 fman QA Team - Task Workflow Status => TBD
2019-02-12 10:11 fman Priority immediate => normal
2019-02-12 10:11 fman Category Test Execute - Issue at Step Level => 0 - User too Lazy to analize defined categories
2019-02-12 10:12 fman Note Added: 0028523
2019-02-12 10:12 fman Assigned To => fman
2019-02-12 10:12 fman Status new => feedback
2019-02-12 14:40 fman Note Added: 0028526
2019-04-02 20:38 fman Note Added: 0028644
2019-04-02 20:38 fman Status feedback => resolved
2019-04-02 20:38 fman Resolution open => unable to reproduce



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker