ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class K9Email.K9Email(system, config)

K9 is a mail client for Android. This class provides an implementation of <no title> using that client.

Parameters:

  • system: the <no title> instance used to control the remote system

  • config: the <no title> instance defining this user

exit(save=False)

Exit the app. save parameter is not used, but is accepted to support the common function signature.

Parameters:

  • save: not used by this method

forward(msg, to, cc='', attach=(), subject='')

Forward the currently selected message to at least one recipient optionally with an additional message added to the email.

Parameters:

  • to: the string to enter in the TO: field

  • cc: optionally the string to enter in the CC: field

  • msg: optionally the string to add to the body before sending

  • attach: optionally a list of paths to files to attach to the message

  • subject: option new subject to use instead of the default

open()

Launch the browser

reply(msg, to='', cc='', attach=(), subject='')

Reply to the currently selected message, optionally responding to additional recipients.

Parameters:

  • msg: the (string) message to type as the reply

  • to: optionally a string to add to the TO: field

  • cc: optionally a string to add to the CC: field

  • attach: optionally a list of paths to files to attach to the message

  • subject: option new subject to use instead of the default

reply_all(msg, attach=(), subject='')

Press the reply-to-all button (or similar) and add a message.

Parameters:

  • msg: the string message to type

  • attach: optionally a list of paths to files to attach to the message

  • subject: option new subject to use instead of the default

select_by_subject(subject)

Disabled currently for this mail reader