A Digital Age Deserves A Digital Leader

Custom Code to Login to Webmail

Postby jbullard » Thu Sep 20, 2007 3:42 am

Xstream,

It is the same email application as Godaddy. Yours should look like this as well. I commented out the login button and put the image that you wanted there instead. Also, after the form declaration the hidden value "domain" was changed to yours if that is the correct domain.

Code: Select all
<form name="login_form" action="https://email.secureserver.net/login.php" method="post">

<input type="hidden" value="calvertfbc.org" name="domain" />

<input type="text" maxlength="255" size="30" name="username" />

<input type="password" maxlength="20" size="30" name="password" />

<input type="checkbox" value="1" name="lowband" CHECKED />

<!-- <input type="submit" value="Logon" /> -->

<INPUT class="PfxInputImage" id="login_b" type="image" alt="Login"

src="https://webmailcluster.perfora.net/img/login.gif" name="__SBMT:d0e247d0:">
VP - Software
User avatar
Posts: 3653
Joined: Sun Jun 06, 2004 10:17 pm
Location: Utah
Real Name: Jason Bullard

Postby Xstream » Thu Sep 20, 2007 3:37 pm

Thanks Jason,
it looks good, but I now get
"Authentication failed. Please try again"
I'll double check my password.
PROfessional Member
User avatar
Posts: 3477
Joined: Fri Mar 15, 2002 2:30 am
Location: USA

Postby Xstream » Thu Sep 20, 2007 3:41 pm

checked it on the regular email login page, my username asd password work. Just not with this code.
PROfessional Member
User avatar
Posts: 3477
Joined: Fri Mar 15, 2002 2:30 am
Location: USA

Postby jbullard » Thu Sep 20, 2007 4:38 pm

Would you mind setting me up with a temp username/password so I can check it out?
VP - Software
User avatar
Posts: 3653
Joined: Sun Jun 06, 2004 10:17 pm
Location: Utah
Real Name: Jason Bullard

Postby Xstream » Thu Sep 20, 2007 7:44 pm

no problem, I have set it up and sent you a pm with the details.
PROfessional Member
User avatar
Posts: 3477
Joined: Fri Mar 15, 2002 2:30 am
Location: USA

Postby jbullard » Fri Sep 21, 2007 4:10 am

Xstream,

Here is what yours needs to look like. I have checked it and it works just fine. :yesnod:

Code: Select all
<form method="post" id="login_form" target="_top" action="https://webmailcluster.perfora.net/xml/webmail/Login;?__frame=_top">

<input type="hidden" name="__lf" value="DefaultFlow">

<input type="hidden" name="__sendingauthdata" value="1">

<input type="hidden" name="login.SelectContract" value="">

<input type="text" size="40" maxlength="200" class="text readonly" id="login.Username" name="login.Username" value="">

<input type="password" size="40" maxlength="200" class="text readonly" id="login.Password" autocomplete="off" name="login.Password" value="">

<input type="image" src="https://webmailcluster.perfora.net/img/login.gif" alt="Login" id="login_b" class=" PfxInputImage" name="__SBMT:d0e247d0:">

</form>
VP - Software
User avatar
Posts: 3653
Joined: Sun Jun 06, 2004 10:17 pm
Location: Utah
Real Name: Jason Bullard

Postby Xstream » Fri Sep 21, 2007 3:48 pm

Jason, thanks alot for working on this.
I would like to ask 1 final favor. The way it is now, you have to type your full email address into the first box. Everyone who checks this will be a @calvertfbc.org address, can we make that part be automatic? So that they just put in their username and the @calvertfbc.org part is already there?
A small thing to type in, I know, but the majority of people using this are older church members who really need this as easy as possible.
thanks.
PROfessional Member
User avatar
Posts: 3477
Joined: Fri Mar 15, 2002 2:30 am
Location: USA

Postby jbullard » Fri Sep 21, 2007 4:22 pm

Yeah. It will require some javascript from what I can tell. I tried passing in the value; however, the username is the full email address. So the only way it looks like to modify this is to use javascript. I will see what I can do in a little bit.
VP - Software
User avatar
Posts: 3653
Joined: Sun Jun 06, 2004 10:17 pm
Location: Utah
Real Name: Jason Bullard

Re: Custom Code to Login to Webmail

Postby genxcoders » Sun Dec 16, 2012 7:44 am

@jbullard

I was searching for a script that I can install on my clients main webpage @ yashgoc.com so that the client doesn't have to leave the page and go to some other page/url to login to their webmail, when I came across the topic (that I've mentioned above as "Ref:").

Went through it, understood a bit tried it but unable to do a thing. Can you please help me with the same?

My clients site is hosted on the one.com server.

Awaiting your positive response at the earliest.
Aashish Handa
GenXCoders
India
PRO New Member
Posts: 1
Joined: Sat Dec 15, 2012 6:24 am
Location: Nagpur, Maharashtra, India
Real Name: Aashish Handa

Previous

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 0 guests