Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

PHP/HTML Email Login/Pass to be sent to exchange server

I am trying to install an email login on my company's homepage and have the login/pass be sent to an Exchange Server to open up the Outlook Web Mail.

I already have it working with the classic popup login but I would rather have the login on the page itself.

I found multiple scripts for this but alas... they are in asp.

Any ideas??

thanx
0
mechanyx
Asked:
mechanyx
1 Solution
 
Richard QuadlingSenior Software DeverloperCommented:
Just have a link to the Exchange Server and use it's own login page.

0
 
Richard QuadlingSenior Software DeverloperCommented:
If you mail server is mail.site.com

then, if the webmail service is installed/configured/running/properly, then

http://mail.site.com should give you a login page.

Richard.
0
 
mechanyxAuthor Commented:
Ref: RQuadling

My web service is configured properly and I can use the server's own login box but I was instructed to create a login directly on the homepage that passed the login/pass directly to the server and opened the webservice from there.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
romulusnrCommented:
Grab the source of the web page on the exchange server, look at the <form> section for the login box.

Copy that HTML into your php, making sure to add the address of the exchange server in the ACTION= attribute.

For example lets say the remote site is at mail.yourdomain.com, and the HTML source for the login box looks like this:

<form method=post action=login.asp>

you need to make sure your HTML for the form says

<form method=post action=http://mail.yourdomain.com/login.asp>

the rest should remain the same, alter however you need.
0
 
gujju420Commented:
Were you able to solve this problem? Where is the HTML on the Exchange server? Please post your comments here or email me at webexperts4@yahoo.com
0
 
Richard QuadlingSenior Software DeverloperCommented:
You could also use PHP Curl to "hide" the login process.

I think that would be the safest way.

Alternatively, edit the default login page for exchange's webmail.
0
 
Richard QuadlingSenior Software DeverloperCommented:
Points to romulusnr.

Richard.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now