mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
7.10.2 Setup SMTP Not Working #2867
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#2867
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @goingsmart on GitHub (Mar 16, 2018).
Issue
ADMIN Email Setup SEND TEST EMAIL not working (also issue in 7.10.1):
Send Test Email Error:SMTP Error: Could not authenticate.
Also, setting Port gets overridden:
Set SMTP Port 465 SSL = None, gets resets to SSL
ERROR LOG:
Fri Mar 16 15:45:38 2018 [941][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: Could not authenticate.
Fri Mar 16 15:45:38 2018 [941][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: Could not authenticate.
Fri Mar 16 15:45:38 2018 [941][1][ERROR] send: PHPMailer Exception: { SMTP Error: Could not authenticate.
Expected Behavior
Test Email should get sent.
This worked for this instance under 7.10.0 (upgraded starting with each release from 7.10 Beta)
Actual Behavior
Possible Fix
Steps to Reproduce
2.Send Test Email
Context
Your Environment
@gmhernandez212 commented on GitHub (Mar 17, 2018):
Getting the same problem. I just did a fresh install of Version 7.10.2 Sugar Version 6.5.25 (Build 344). I am using Gmail to try to send a test email but getting:
Sat Mar 17 05:57:14 2018 [19496][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: Could not connect to SMTP host.I've made sure that the account and password is correct. I'm also using the 'admin' user account in the SuiteCRM installation.
@pgorod commented on GitHub (Mar 18, 2018):
Don't you get a link in the message box that tells you there was an error, to "Show full SMTP log"? If you do, what does that show?
You can also uncomment this line:
https://github.com/salesagility/SuiteCRM/blob/master/include/SugarPHPMailer.php#L446
To get more information into the log. Raise your log level to DEBUG (or change that line to make the log level FATAL) to make sure you see it.
@goingsmart commented on GitHub (Mar 18, 2018):
I do not get a link on Message Box to "Show full SMTP log"
My Message Box: Send Test Email Error:SMTP Error: Could not authenticate.
ERROR LOG:
Fri Mar 16 15:45:38 2018 [941][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: Could not authenticate.
Fri Mar 16 15:45:38 2018 [941][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: Could not authenticate.
Fri Mar 16 15:45:38 2018 [941][1][ERROR] send: PHPMailer Exception: { SMTP Error: Could not authenticate.
@goingsmart commented on GitHub (Mar 19, 2018):
Using Port 465 and none
I got the FULL SMTP LOG from Outbound Email. is my problem due to my server timeout?
3: Connection: opening to mail.xxxxxx.net:465, timeout=300, options=array (
)
3: Connection: opened
2: SERVER -> CLIENT:
1: SMTP NOTICE: EOF caught while checking if connected
3: Connection: closed
3: SMTP Error: Could not authenticate.
3: SMTP Error: Could not authenticate.
@goingsmart commented on GitHub (Mar 19, 2018):
This ERROR using port 465 and SSL:
3: Connection: opening to ssl://mail.xxxxx:465, timeout=300, options=array (
)
3: Connection: opened
2: SERVER -> CLIENT: 220-cloud1.xxxxxx.world ESMTP Exim 4.89_1 #1 Sun, 18 Mar 2018 22:38:37 -0700
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
1: CLIENT -> SERVER: EHLO www.xxx.net
2: SERVER -> CLIENT: 250-cloud1.yyyyy.world Hello www.zzz.net [68.169.nn.nnn]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
1: CLIENT -> SERVER: AUTH LOGIN
2: SERVER -> CLIENT: 334 VXNlcvvvvvXWU6
1: CLIENT -> SERVER: ---obfuscated---
2: SERVER -> CLIENT: 334 UGFzc3dvcmQ6
1: CLIENT -> SERVER: ---obfuscated---
2: SERVER -> CLIENT: 535 Incorrect authentication data
1: SMTP ERROR: Password command failed: 535 Incorrect authentication data
3: SMTP Error: Could not authenticate.
1: CLIENT -> SERVER: QUIT
2: SERVER -> CLIENT: 221 cloud1.xxxx.world closing connection
3: Connection: closed
3: SMTP Error: Could not authenticate.
@goingsmart commented on GitHub (Mar 19, 2018):
MY BAD... the PWD and SMTP Settings I used were incorrect.
THX. for responding.
7.10.2 is GREAT.