?
Solved

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

Posted on 2003-02-18
10
Medium Priority
?
187 Views
Last Modified: 2006-11-17
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
Comment
Question by:mechanyx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 7980912
Just have a link to the Exchange Server and use it's own login page.

0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 7980917
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
 

Author Comment

by:mechanyx
ID: 7982095
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Accepted Solution

by:
romulusnr earned 200 total points
ID: 7996073
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
 

Expert Comment

by:gujju420
ID: 10599470
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
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 10796514
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
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 11782788
Points to romulusnr.

Richard.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question