reckdan Posted June 14, 2007 Share Posted June 14, 2007 Hi I have developed this website and it's being hosted by a company, but i also requested for email services, but the problem is that to access your email you have type the full email address in the username box eg. if your email is men@cc.com, you have to type men@cc.com in the username field instead of "men". So i will like to create a login box within my site such that users will have just have to type the their username(and it will automatically autocomplete it with the rest of the information before passing it to the server) and password to access their mail. Please I need help urgently if it's possible Thanks Quote Link to comment https://forums.phpfreaks.com/topic/55565-email-login-problems/ Share on other sites More sharing options...
softnmedia Posted June 14, 2007 Share Posted June 14, 2007 You can do it while the server process the request. While click on the Submit it executes some scripts, in that you can add your domain name to the login name. I hope this will work.. Quote Link to comment https://forums.phpfreaks.com/topic/55565-email-login-problems/#findComment-274614 Share on other sites More sharing options...
reckdan Posted June 14, 2007 Author Share Posted June 14, 2007 I think my question is not very clear so let me explain my self better. First of all, I can only access my mail by going to mail.civilsocietyghana.org and then i enter my username "sample@civilsocietyghana.org" and my password to check and view my mails. If i enter "sample" in the username field and I try to login, it is not possible. Now what I intend to do is to create another login form from within my site such that when I click on Login the information is passed from my login form to the mail.civilsociety.org login form, and automaticatically executing the Login button on that form for me to see my mail straight forward. May be my question is not self explanatory enough. If any one feel so please let me know so that i can further explain myself better. And also if any body understand my question, please help me out or if it is not possible please let me know thank you Quote Link to comment https://forums.phpfreaks.com/topic/55565-email-login-problems/#findComment-274755 Share on other sites More sharing options...
Nhoj Posted June 14, 2007 Share Posted June 14, 2007 After posting the information you could simply use a connotation and then '@mydomain.com' to the $_POST variable. This would in turn always automatically attach '@mydomain.com' to the end of the username post value. Quote Link to comment https://forums.phpfreaks.com/topic/55565-email-login-problems/#findComment-274757 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.