mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #364] unable to add SMTP servers: Cound not add server: php_network_getaddresses: getaddrinfo failed: Name or service not known #311
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#311
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 @nekromoff on GitHub (Nov 20, 2019).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/364
Originally assigned to: @jasonmunro on GitHub.
💬 Question
Cound not add server: php_network_getaddresses: getaddrinfo failed: Name or service not known
@nekromoff commented on GitHub (Nov 22, 2019):
imap and others work fine
@nekromoff commented on GitHub (Nov 22, 2019):
Any ideas? I have now tried it with two different hostings and the same error, I am just unable to add any SMTP server (tried multiple, different settings, SSL, TLS, 465, 567, 25 etc.).
@jasonmunro commented on GitHub (Nov 22, 2019):
I'm unable to reproduce this so I'm not sure what is going on. It's the same process used to add an IMAP server (we use PHP's fsockopen() to attempt a network connection to the server + port). I just tested smtp.gmail.com port 465 with TLS and it worked without issue.
@nekromoff commented on GitHub (Nov 22, 2019):
I will put PHP in full error mode and report back.
On Fri, Nov 22, 2019 at 4:37 PM Jason Munro notifications@github.com
wrote:
@jasonmunro commented on GitHub (Nov 22, 2019):
you may also want to remove the '@' character here:
https://github.com/jasonmunro/cypht/blob/master/modules/smtp/modules.php#L243
This stifles PHP warnings (which are likely the same as $errstr) but worth trying to see if it provides any additonal clues.
@nekromoff commented on GitHub (Nov 29, 2019):
Must have been problem with some of the PHP modules, everything works after upgrade.
@jasonmunro commented on GitHub (Feb 6, 2020):
Glad to hear you got this sorted. Thanks for the feedback and don't hesitate to let us know if you have other issues/questions/suggestions!