Coder Social home page Coder Social logo

iserv-email-preview's Introduction

What does it do?

This script performs a login into an iserv account to show you the number of unread emails, the subjects and an link directing to them.

Usage

For using this script you need to prepare it first. Therefore some changes need to be made in the beginning:

  • iservhost="ISERVHOST" where ISERVHOST is like: https://demo-iserv.de/idesk/
  • lact="ACCOUNT" where ACCOUNT is the users account like: bjoern.mueller
  • lpwd="PASSWORD" where PASSWORD is the users password.

DO NOT SAVE YOUR PASSWORD IN THIS SCRIPT IF SOMEONE ELSE COULD READ THAT, OR IF IT IS REACHABLE FROM THE INTERNET

The output will be visible running ./iserv_email.sh in the console, but before the output we see the STD-OUT from cURL. link

If you want the output in another script, do emailoutput=$(./iserv_email.sh) To get the output into a seperate file, uncomment line 51.

Future

When iserv 3 is released offically and maybe has an API that will make it possible to stay permanently logged in like the iserv3 app does (sadly it is currently limited to the iserv3 app). Also it will be is much easier to get these information like email-data,... UPDATE: Since iserv3 is available now, I am working to use their API (even if there's no documentation about :P) and build a new script to perform these tasks. It is a lot easier now; be patient :D Check out my iserv3-email-preview. It acts like this script but uses the powerfull Iserv3 API

iserv-email-preview's People

Contributors

wuerfeldev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.