MailBot description tbd
Extracted from won-bot README.md
NOTE: The
Mail2WonBotAppmay be currently not entirely functional due to code structure changes in the main WoN applications.
Mail2WonBotApp can be used to create atoms retrieved from a given email address. This bot acts like the owner application as it allows users to create atoms, open/close connections and communicate with others.
To run the Mail2WonBotApp, an argument specifying the configuration location is needed, e.g:
-DWON_CONFIG_DIR=C:/webofneeds/conf.local
Furthermore you need to set the following properties within mail-bot.properties to ensure a connection to an incoming and outgoing mail-server:
mailbot.email.address=emailadress
mailbot.email.user=username
mailbot.email.password=pass
mailbot.email.imap.host=imap.gmail.com
mailbot.email.imap.port=993
mailbot.email.smtp.host=smtp.gmail.com
mailbot.email.smtp.port=587
Make sure the config folder contains the relevant property files, and you have specified the values of the properties relevant for the system being tested, i.e.:
NOTE: Due to atom structure changes, the format described here may be accepted by the
Mail2WonBot, but not by connected node or other clients.
You can send an email with a subject starting with either [WANT], [OFFER], [TOGETHER], [CRITIQUE] to the configured mailadress, to create an atom of the given type. The content of the email will be used as the description, while the subject line will be used as title. Furthermore, tags (strings starting with #) will be extracted from the email and will be stored within the created atom.
You will then receive emails when the matcher finds connections to this created atom, you can answer those e-mails via the reply function of your email-client, for now we support the following commands (which will be retrieved from the replymessage-body):
A reply that starts with:
A reply for an already open connection (connectionState: Connected) will send the replymessage-body as a textmessage.
Every remote message sent to this connection will be sent to you as an e-mail as well.
Content type
Image
Digest
Size
307.6 MB
Last updated
about 7 years ago
docker pull webofneeds/won-mailbot