module mokadi.mokadi_action_mail

Inheritance diagram of botadi.mokadi.mokadi_action_mail

Short summary

module botadi.mokadi.mokadi_action_mail

Defines an action for Mokadi.

source on GitHub

Classes

class

truncated documentation

MokadiActionMail

Action. Mail.

Methods

method

truncated documentation

__init__

Constructor.

can_do

Tells if the class can process the message.

process_interpreted_message

Process the interpreted message.

Documentation

Defines an action for Mokadi.

source on GitHub

class botadi.mokadi.mokadi_action_mail.MokadiActionMail(user, pwd, server, fLOG=None)

Bases: botadi.mokadi.mokadi_action.MokadiAction

Action. Mail.

source on GitHub

Constructor.

Parameters
  • user – login

  • pwd – password

  • server – server

  • fLOG – logging function

source on GitHub

__init__(user, pwd, server, fLOG=None)

Constructor.

Parameters
  • user – login

  • pwd – password

  • server – server

  • fLOG – logging function

source on GitHub

can_do(interpreted, message)

Tells if the class can process the message.

Parameters
  • interpreted – interpreted message

  • message – message

Returns

true if the class can process the message

source on GitHub

process_interpreted_message(interpretation, message)

Process the interpreted message.

Parameters
  • interpretation – interpretation

  • message – original message

Returns

iterator on Info

source on GitHub