Thanks I had tried using 'telnet' not 'ping'. You are certainly right you can 'ping' smtp.office365.com. Any pointers to where I would start to look elsewhere ?
server name : smtp.office365.com - does not work.
server name : outlook-emeawest.office365.com - works !
(using - outlook-emeawest.office365.com I would get black listed.)
I can now send mail by using this address:
smtp.outlook.office365.com
After lots searching I an no wiser.
- I can ping the server smtp.office365.com, but cannot send mail.
- I can send mail via smtp.outlook.office365.com - but http://community.office365.com MSFT Support cannot advise me and no documentation available for that address.
I have done lots of research and found no official documents saying that you can send emails by ''smtp.outlook.office365.com''. Since this address is not supported, we cannot make sure whether ''smtp.outlook.office365.com'' will work in the future or not.
If you use this address and it is blocked by BT, you need to contact BT support for dedicated assistance. Your understanding is highly appreciated.
Code:
nslookup smtp.office365.com
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
smtp.office365.com canonical name = smtp.outlook.office365.com.
smtp.outlook.office365.com canonical name = outlook.office365.com.
outlook.office365.com canonical name = lb.geo.office365.com.
lb.geo.office365.com canonical name = outlook.office365.com.glbdns2.microsoft.com.
outlook.office365.com.glbdns2.microsoft.com canonical name = outlook-emeawest.office365.com.
Name: outlook-emeawest.office365.com
Address: 132.245.225.98
Name: outlook-emeawest.office365.com
Address: 132.245.224.162
Name: outlook-emeawest.office365.com
Address: 132.245.194.242
Name: outlook-emeawest.office365.com
Address: 132.245.226.34
Name: outlook-emeawest.office365.com
Address: 132.245.229.130
Name: outlook-emeawest.office365.com
Address: 132.245.195.162
Name: outlook-emeawest.office365.com
Address: 132.245.34.34
Name: outlook-emeawest.office365.com
Address: 132.245.67.82
Name: outlook-emeawest.office365.com
Address: 191.234.225.162
Name: outlook-emeawest.office365.com
Address: 132.245.27.34
Name: outlook-emeawest.office365.com
Address: 132.245.68.242
Name: outlook-emeawest.office365.com
Address: 132.245.212.98
- BT are unhelpful 'As they donot support Linux or Thunderbird', it is not a Thunderbird issue as I have tried other mail clients and my own python scripts. They suggest they have not changed anything in the last 10 days to cause this problem,
In my very limited understanding of the issue it would seem that the smtp.office365.com will not talk to Linux. With my python script I get this error using smtp.office365.com:
Code:
PHP Code:
Traceback (most recent call last):
File "/home/andrew/sharedfolder/test.py", line 15, in <module>
smtpObj = smtplib.SMTP('smtp.office365.com',587)
File "/usr/lib/python2.7/smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python2.7/smtplib.py", line 311, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/lib/python2.7/smtplib.py", line 286, in _get_socket
return socket.create_connection((host, port), timeout)
File "/usr/lib/python2.7/socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known
Bookmarks