Project

General

Profile

Actions

Bug #3681

closed

Email notifications don't work with IPv6-only SMTP servers

Added by William Jagels almost 10 years ago. Updated about 7 years ago.

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": ??

Actions #1

Updated by Chris Buechler almost 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.

Actions #2

Updated by Chris Buechler over 8 years ago

  • Status changed from New to Confirmed
Actions #3

Updated by Marcel Hellwig about 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/

Actions #4

Updated by Kill Bill about 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.

Actions #5

Updated by Jim Pingle about 7 years ago

  • Status changed from Confirmed to Closed
  • Affected Version deleted (2.1-IPv6)
Actions

Also available in: Atom PDF