Wednesday, June 17, 2009

How can I use php/cgi to set up a login page to login to my own hosted email?

Im going to have a login iframe where when one of our staff members for my webdesign company want to check their email, they can use login/password.





Right now we login to the server, then click on 'mail', then click on 'add/remove/edit accounts' then click read mail on their account, and then click the online email reader like 'squirrel mail', and then u can read it.





I want to login from the homepage, and then go straight to the web mail page like 'squirrel mail' within a popup.





I need to use php or cgi....





anyone knows what to do, i would appreciate that you can help.

How can I use php/cgi to set up a login page to login to my own hosted email?
I just used a form to send the username and password data to the appropriate place. Make sure you keep the "user" and "pass" attributes the same, and replace the path ("www.yourdomain.com") with the address of your site.





%26lt;form name="login" action="http://www.yourdomain.com:2095/l... method="post"%26gt;


%26lt;p%26gt;


Username:






%26lt;input type="text" name="user" /%26gt;


%26lt;/p%26gt;


%26lt;p%26gt;


Password:






%26lt;input type="password" name="pass" /%26gt;


%26lt;/p%26gt;


%26lt;p%26gt;%26lt;input type="submit" value="Submit" /%26gt;%26lt;/p%26gt;


%26lt;/form%26gt;





Please bear in mind that POST data is sent in plain text, so you may want to work out some sort of encryption.
Reply:If you have a Linux Based mail server then you can use Qmail or Squiril mail as a front end!
Reply:my system uses the free hmailserver... and i bought a 25 squirrelmail app from nutsmail.com works great! save lots of time so that ur team members could be working on real projects.


No comments:

Post a Comment