Opened 2 years ago

Closed 2 years ago

#5686 defect closed fixed (fixed)

SMTP Client 11 (smtpclient-11.tac) throws AttributeError exception

Reported by: argonemyth Owned by: itamar
Priority: normal Milestone:
Component: mail Keywords: documentation tutorial easy
Cc: jesstess, fei@… Branch:
Author: Launchpad Bug:

Description

Well, that's because a mxRecord instance no longer has the 'exchange' attribute - should replace 'mxRecord.exchange' with 'mxRecord.name'.

It will be quick. Let me fix it first (before updating the whole SMTP client tutorial), so people can have a working SMTP client.

Attachments (1)

smtpclient11-fix-20120524.patch (1008 bytes) - added by argonemyth 2 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 2 years ago by argonemyth

  • Cc fei@… added
  • Component changed from core to mail
  • Keywords review added
  • Owner argonemyth deleted

Updated the tac and doc files (see patch mtpclient11-fix-20120524.patch), smtpclient-11.tac should be a working client now.

(Oops, forgot to change the component when I created the ticket!)

Changed 2 years ago by argonemyth

comment:2 Changed 2 years ago by itamar

  • Keywords review removed
  • Owner set to itamar

Looks good; I'll merge.

comment:3 Changed 2 years ago by itamarst

  • Resolution set to fixed
  • Status changed from new to closed

(In [34433]) Apply 5686 patch: Use correct attribute in MXCalculator example.

Author: argonemyth
Review: itamar
Fixes: #5686

Note: See TracTickets for help on using tickets.