Actions
Bug #3681
closedEmail notifications don't work with IPv6-only SMTP servers
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Notifications
Target version:
-
Start date:
05/27/2014
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
The email notifications system does not function with an ipv6 only mail server.php: /system_advanced_notifications.php: Could not send the message to william@jagels.us -- Error: could not connect to the host "mail.jagels.us": ??
Updated by Chris Buechler over 10 years ago
- Subject changed from Email notifications don't work with IPv6 SMTP servers to Email notifications don't work with IPv6-only SMTP servers
our smtp.inc (looks to be from elsewhere, phpmailer maybe) uses gethostbyname to check whether a hostname is valid. gethostbyname in PHP is IPv4-only, so that check fails for any hostname that doesn't have an A record.
Updated by Chris Buechler about 9 years ago
- Status changed from New to Confirmed
Updated by Marcel Hellwig over 7 years ago
Maybe this could help? (Although it's in norweign, the code itself is pretty easy and simple)
http://www.webforumet.no/forum/threads/gethostbyname-ipv6.26438/
Updated by Kill Bill over 7 years ago
smtp.inc
is gone from 2.4, it's using pear-Net_SMTP and other pear stuff. This bug is not really relevant any more.
Updated by Jim Pingle over 7 years ago
- Status changed from Confirmed to Closed
- Affected Version deleted (
2.1-IPv6)
Actions