Let me rephrase, the exception comes from a code that looks like this:
calc = twisted.relaymanager.MXCalculator()
calc.getMX("gmail.com").addCallback(sendEmail, mail)
def sendEmail(mail):
.
.
.
It seems that the failure comes from twited.relaymanager.MXCalculator.
Can anyone explain what is causing this exception?
twisted.names.error.DNSQueryRefusedError: <twisted.names.dns.Message instance at 0xb78470cc>
I'm using twisted.mail.smtp which subclasses twisted.names.dns. I keep getting this failure during smtp.sendmail(). Thank you in advance. :)
---
Alvin Delagon
--
http://www.alvinatorsplayground.blogspot.com/