auto login to webmail for monitoring

Get help from the community here.

Moderator: Developers

lucanet
Posts: 126
Joined: Sat Apr 19, 2014 2:11 pm

auto login to webmail for monitoring

Postby lucanet » Wed Jun 04, 2014 3:12 pm

Hi, I wanted to monitor login to webmail automatically via monitoring software.

Does someone know if its possible?

I came up with this but it doesnt auto login

http://demo.group-office.eu/index.php?r ... gin=submit

Im surely missing something basic...

any help appreciated.

Thanks!
mschering
Site Admin
Site Admin
Posts: 8324
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: auto login to webmail for monitoring

Postby mschering » Tue Jun 10, 2014 1:35 pm

Yes, you can make http api calls:

https://www.group-office.com/wiki/API_calls

Or check the angularjs project to see how you can do it with angularjs:

https://github.com/mschering/angular-groupoffice
Best regards,

Merijn Schering
Intermesh
lucanet
Posts: 126
Joined: Sat Apr 19, 2014 2:11 pm

Re: auto login to webmail for monitoring

Postby lucanet » Tue Jun 10, 2014 1:46 pm

Nice, thanks.

Is it possible to just do it via HTTP URL? A URL that auto logs to webmail passing user and password as parameter? This way its easier for me to monitor and check that webmail really logs in.

API, etc. Id have to hire a programmer and see if my monitor software supports it.

Tks.
mschering
Site Admin
Site Admin
Posts: 8324
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: auto login to webmail for monitoring

Postby mschering » Tue Jun 10, 2014 1:59 pm

You can pass the params as GET parameters too I believe.
Best regards,

Merijn Schering
Intermesh
lucanet
Posts: 126
Joined: Sat Apr 19, 2014 2:11 pm

Re: auto login to webmail for monitoring

Postby lucanet » Wed Jun 11, 2014 1:34 pm

Ok, thanks. What I wanted was a way to autologin to webmail via URL. Put URL in browser and autologin, passing user and pwd as parameter.

I will try to check with my programmer who is travelling, if anyone has this ready or can pass me the URL as it should be, Id be thankful :)

If I find out, of course, Ill post here.

Thanks.
fischli
Posts: 36
Joined: Tue Apr 22, 2014 10:06 am

Re: auto login to webmail for monitoring

Postby fischli » Thu Jun 12, 2014 5:21 am

change "USER" and "SECRET" inside the URL to your needs and you will enter GO without login

Code: Select all

http://your.domain/path/to/go/index.php?r=auth/login&username=USER&password=SECRET
lucanet
Posts: 126
Joined: Sat Apr 19, 2014 2:11 pm

Re: auto login to webmail for monitoring

Postby lucanet » Thu Jun 12, 2014 1:38 pm

Hi, fischli

Thanks a lot! Worked great :)

Who is online

Users browsing this forum: No registered users and 5 guests