473,788 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to Login in WAPEmail only in Motorola Devices

1 New Member
Hi,

Currently we are facing a unique issue w.r.t Motorola Devices.We are having a WAP Email application,whi ch we are able to login from Openwave and other browsers in various devices like LG,Samsung and Nokia.But we are unable to login only in Motorola Devices.
The login page is displayed , even after entering username & password.The page just refreshes and stays on the login page and cannot go futher.

The email application is developed in ASP.Net 2.0 Mobile and is https enabled.

Do we need to change any configruation setting anywhere.Please let me know if I am missing something.Any help would be greatly appreciated.

-SR
Jul 15 '08 #1
3 2483
victorhu
7 New Member
I just new here .~ But I think there three solutions to the this problem.
I suggest you use wml to solve it.

1 . use MOTO SDK , you can down it from the ,down the C# version
http://developer.motorola.com/docstools/

2. use JMail +WML
http://hi.baidu.com/zhouyazun/blog/i...efaed5057.html
This URL is from a chinese website,so you'd better use google translator .You can see a simple Demo in it, good and successful.

3.you say "The login page is displayed , even after entering username & password.The page just refreshes and stays on the login page and cannot go futher." Are you sure you use WML or ASP.NET could create wml script in a right way ? When I develop a J2ME application ,I have also meet this problem but I solve it by moto SDK , I find that some Moto mobile devices are different from other devices.

Hope my suggestions can help you !

-------------A mobile developer from China , Victor Hu
Aug 20 '08 #2
RedSon
5,000 Recognized Expert Expert
I just new here .~ But I think there three solutions to the this problem.
I suggest you use wml to solve it.

1 . use MOTO SDK , you can down it from the ,down the C# version
http://developer.motorola.com/docstools/

2. use JMail +WML
http://hi.baidu.com/zhouyazun/blog/i...efaed5057.html
This URL is from a chinese website,so you'd better use google translator .You can see a simple Demo in it, good and successful.

3.you say "The login page is displayed , even after entering username & password.The page just refreshes and stays on the login page and cannot go futher." Are you sure you use WML or ASP.NET could create wml script in a right way ? When I develop a J2ME application ,I have also meet this problem but I solve it by moto SDK , I find that some Moto mobile devices are different from other devices.

Hope my suggestions can help you !

-------------A mobile developer from China , Victor Hu
Hi Victor,

Very good suggestions! Welcome to bytes.com. Have you used Jmail and VML before? Can you tell us a little about those technologies and what they are designed to do?

-Red
Aug 20 '08 #3
victorhu
7 New Member
Hi Victor,

Very good suggestions! Welcome to bytes.com. Have you used Jmail and VML before? Can you tell us a little about those technologies and what they are designed to do?

-Red
WML = Wireless Markup Language.It's use in development of WAP .All of wap browser support it . This is "Hello World",It is a subset of XML. You can see more information in
http://en.wikipedia.or g/wiki/Wireless_Markup _Language

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
  "http://www.wapforum.or g/DTD/wml_1.1.xml">

<wml>
<card id="HELLO" title="HELLO"> 
 Hello world!
</card>
</wml>

---------------------------------------------------------------------------------------------------------

Jmail:it's a server-side components for sending mail. if you use it in mobile wap develop you can see sample Demo.It's just easy but it contains all of process for WML+JMAIL using. Hope this one may help you to deal with your problems.````My english is not good ,so my replys may have some grammar mistakes. Smiling ``````
----------------------------------------------------------------------------------------------------------
1. down Jmail from http://tech.dimac.net/
-------------------------------------------------------------------------------------------------------------
2.send.asp
 〈% @LANGUAGE="VBSC RIPT" CODEPAGE="65001 " %〉
  〈%Response.Co ntentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTY PE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.or g/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="send mail"〉
  〈p〉
  〈%
  user=request( "user")
  pwd=request(" pwd")
  %〉
  Recipie nts:
  〈input type="text" title="Recipien ts" name="tomail" size="12" maxlength="50"/〉〈br/〉
  Title:
  〈input type="text" title="Title" name="subject" size="12" maxlength="50"/〉
  〈br/〉content:
  〈input type="text" title="content" name="body" size="12" maxlength="250"/〉〈br/〉
  〈do type="accept" label="send" optional="false "〉
  〈go href="sendok.as p?user=〈%=user% 〉&amp;pwd=〈%=pw d%〉" method="post" accept-charset="utf-8"〉
  〈postfi eld name="from" value="$(from)"/〉
  〈postfi eld name="tomail" value="$(tomail )"/〉
  〈postfi eld name="subject" value="$(subjec t)"/〉
  〈postfi eld name="body" value="$(body)"/〉〈/go〉
  〈/do〉
  〈/p〉
  〈p〉
  〈a href="main.asp? user=〈%=user%〉& pwd=〈%=pwd%〉"〉B ack /a〉〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------
3.sendOK.asp
〈% @LANGUAGE="VBSC RIPT" CODEPAGE="65001 " %〉
  〈%Response.Co ntentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTY PE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.or g/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="send Email"〉
  〈p〉
  〈%
  user=request( "user")
  pwd=request(" pwd")
  tomail=reques t("tomail")
  'from=request .form("from")
  subject=reque st.form("subjec t")
  body=request. form("body")
  servermail=us er+"@hotmail.co m"
  dim JMail
  set JMail=server.Cr eateObject("Jma il.message")
  JMail.Silent= true
  JMail.C harset = "utf-8"
  JMail.f rom =""&ServerMail& ""
  JMail.AddReci pient tomail
  JMail.S ubject =""&subject& ""
  jmail.Body="" &body&"-body HOHO my emil:victorhuru i@hotmail.com--"
  JMail.MailSer verUserName =user
  JMail.MailSer verPassWord = pwd
  JMail.MailDom ain = "www.hotmail.co m"
  JMail.Priorit y=2
  sendok=JMail. send("smtp.hotm ail.com")
  Set JMail=nothing
  if sendok then
  response.writ e "send OK!〈a href='main.asp? user="&user&"&p wd="&pwd&"'〉BAC K〈/a〉"
  else
  response.writ e "send fail!〈a href='send.asp? user="&user&"&p wd="&pwd&"'〉BAC K〈/a〉"
  end if
  %〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
4 .email_list.asp
〈% @LANGUAGE="VBSC RIPT" CODEPAGE="65001 " %〉
  〈%Response.Co ntentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTY PE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.or g/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="receive" 〉
  〈p〉
  〈%
  user=request( "user")
  pwd=request(" pwd")
  dim perpage_num,cur page,totalpage
  perpage _num=3 'set how many emails per page show
  if request("page") ="" then
  curpage =1 'now page
  else
  curpage=int(r equest("page"))
  end if
  Set pop3 = Server.CreateOb ject( "JMail.POP3 " )
  pop3.co nnect user,pwd,"http://pop3.hotmail.co m"
  ' POP3 user,password,P OP3 address
  if pop3.count mod perpage_num〈〉0 then
  totalpage=int (pop3.count / perpage_num)+1
  else
  totalpage=int (pop3.count / perpage_num)
  end if
  Response.Writ e( "you have" &amp; pop3.count & " emails。totalpag e "&totalpage &" page,current "&curpage&" page〈br/〉---------------------〈br/〉" )
  if pop3.count 〉 0 then 'if no email then response NO EMAIL
  if pop3.count〉=per page_num*curpag e then
  for i=(curpage-1)*perpage_num to curpage*perpage _num-1%〉
  〈a href="email_inf o.asp?id=〈%=i+1 %〉&user=〈%=user %〉&pwd=〈%=pwd%〉 &page=〈%=curpag e%〉"〉〈%=pop3.me ssages.item(i+1 ).Subject%〉--〈%=pop3.message s.item(i+1).dat e%〉〈/a〉〈br/〉
  〈%next
  %〉
  〈%if curpage〉1 then%〉
  〈a href="email_lis t.asp?page=〈%=c urpage-1%〉&user=〈%=use r%〉&pwd=〈%=pwd% 〉"〉PRE〈/a〉
   〈%end if%〉
  〈%if int(curpage)〈in t(totalpage) then%〉
  〈a href="email_lis t.asp?page=〈%=c urpage+1%〉&user =〈%=user%〉&pwd= 〈%=pwd%〉" 〉NEXT〈/a〉
  〈%end if%〉
  〈%
  else
  for i=(curpage-1)*perpage_num to pop3.count-1%〉
  〈a href="email_inf o.asp?id=〈%=i+1 %〉&user=〈%=user %〉&pwd=〈%=pwd%〉 &page=〈%=curpag e%〉"〉〈%=pop3.me ssages.item(i+1 ).Subject%〉--〈%=pop3.message s.item(i+1).dat e%〉〈/a〉〈br/〉
  〈%next% 〉
  〈%if curpage〉1 then%〉
  〈a href="email_lis t.asp?page=〈%=c urpage-1%〉&user=〈%=use r%〉&pwd=〈%=pwd% 〉"〉PRE〈/a〉
   〈%end if%〉
  〈%if int(curpage)〈in t(totalpage) then%〉
  〈a href="email_lis t.asp?page=〈%=c urpage+1%〉&user =〈%=user%〉&pwd= 〈%=pwd%〉" 〉NEXT〈/a〉
  〈%end if%〉
  〈%
  end if
  else
  response.writ e("NO EMAIL!")
  end if
  pop3.Disconne ct
  %〉
  〈/p〉
  〈p〉
  〈a href="main.asp? user=〈%=user%〉& pwd=〈%=pwd%〉"〉B ACK〈/a〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
5.email_info.as p
〈% @LANGUAGE="VBSC RIPT" CODEPAGE="65001 " %〉
  〈%Response.Co ntentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTY PE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.or g/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="view email"〉
  〈p〉
  〈%
  user=request( "user")
  pwd=request(" pwd")
  id=request("i d")
  page=request( "page")
  Set pop3 = Server.CreateOb ject( "JMail.POP3 " )
  ' POP3 user,password,P OP3 address
  pop3.co nnect user,pwd,"http://pop3.hotmail.co m"
  Set msg = pop3.Messages.i tem(id)
  ReTo = ""
  ReCC = ""
  Set Recipients = msg.Recipients
  separat or = ", "
  For i = 0 To Recipients.Coun t - 1
  If i = Recipients.Coun t - 1 Then
  separat or = ""
  End If
  Set re = Recipients.item (i)
  If re.ReType = 0 Then
  ReTo = ReTo & re.Name & re.EMail & separator
  else
  ReCC = ReTo & re.Name & re.EMail & separator
  End If
  Next
  body=ms g.body
  body=replace( body,"〈","")
  body=replace( body,"〉","")
  Set Attachments = msg.Attachments
  %〉
  〈a href="email_tit le.asp?user=〈%= user%〉&pwd=〈%=p wd%〉&page=〈%=pa ge%〉"〉BACK〈/a〉 〈a href="reply.asp ?user=〈%=user%〉 &pwd=〈%=pwd%〉&m ailto=〈%=msg.Fr om%〉"〉reply〈/a〉 〈a href="email_del .asp?user=〈%=us er%〉&pwd=〈%=pwd %〉&id=〈%=id%〉"〉 delete〈/a〉
  〈/p〉
  〈p〉
  from:〈% = msg.FromName %〉--〈%=msg.date%〉〈b r/〉
  title:〈 %= msg.Subject %〉〈br/〉
  content :〈%= body %〉〈br/〉
  〈%
  if Attachments.Cou nt〉0 then
  response.Writ e("It contain attachments!")
  end if
  pop3.Disconne ct
  %〉
  〈/p〉
  〈p〉
  〈a href="email_lis t.asp?user=〈%=u ser%〉&pwd=〈%=pw d%〉&page=〈%=pag e%〉"〉back〈/a〉 〈a href="reply.asp ?user=〈%=user%〉 &pwd=〈%=pwd%〉&m ailto=〈%=msg.Fr om%〉"〉reply〈/a〉 〈a href="email_del .asp?user=〈%=us er%〉&pwd=〈%=pwd %〉&id=〈%=id%〉"〉 delete〈/a〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
6. email_del.asp

  〈% @LANGUAGE="VBSC RIPT" CODEPAGE="65001 " %〉
  〈%Response.Co ntentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTY PE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.or g/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="delete OK"〉
  〈p〉
  〈%
  user=request( "user")
  pwd=request(" pwd")
  id=request("i d")
  Set pop3 = Server.CreateOb ject( "JMail.POP3 " )
  pop3.co nnect user,pwd,"http://pop3.hotmail.co m"
  pop3.deletesi nglemessage id
  pop3.Disconne ct
  Set JMail=nothing
  response.writ e delok&amp;"dele te OK!〈a href='email_lis t.asp?user="&us er&"&pwd="&pwd& "'〉BACK〈/a〉"
  %〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
7.Reply.asp

  〈% @LANGUAGE="VBSC RIPT" CODEPAGE="65001 " %〉
  〈%Response.Co ntentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTY PE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.or g/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="Send"〉
  〈p〉
  〈%
  user=request( "user")
  pwd=request(" pwd")
  tomail=reques t("mailto")
  %〉
  From:
  〈%=tomail%〉〈b r/〉
  Title:
  〈input type="text" title="Title" name="subject" size="8" maxlength="50"/〉
  〈br/〉Content:
  〈input type="text" title="Content" name="body" size="8" maxlength="250"/〉〈br/〉
  〈do type="accept" label="Send" optional="false "〉
  〈go href="sendok.as p?user=〈%=user% 〉&amp;pwd=〈%=pw d%〉&tomail=〈%=t omail%〉" method="post" accept-charset="utf-8"〉
  〈postfi eld name="subject" value="$(subjec t)"/〉
  〈postfi eld name="body" value="$(body)"/〉〈/go〉
  〈/do〉
  〈/p〉
  〈p〉
  〈a href="email_lis t.asp?user=〈%=u ser%〉&pwd=〈%=pw d%〉"〉Back〈/a〉〈br/〉
  〈a href="main.asp? user=〈%=user%〉& pwd=〈%=pwd%〉"〉B ack〈/a〉〈/p〉
  〈/card〉
  〈/wml〉



----------------------------------Victo Hu, a mobile developer from China
Aug 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3035
by: Miller | last post by:
Hi everybody! These messages have been found in the System log of the Event Viewer application. These error messages have been generated after each logon attempt. Although dial-in client have been connected to the host pc, But client was unable to open the target host, and its failure attempts have been recorded in the System log. It seems that something must be configured on host, which gives client more to provide in the authentication...
2
3183
by: allenj | last post by:
DB2 UDB 7.2 WSE Fixpak 9 Linux Red Hat 7.3 A very strange thing just happened w/ my DB2 server. I am on Linux and using NIS - the instance owner is in the servers /etc/passwd file. Suddenly, DB2 would not authenticate any NIS-based logins, but it *would* authenticate the local non-NIS instance owner. This was happening not only w/ local connections on the server, but also
4
1970
by: SJ | last post by:
I have a mobile web application running on a server at work. There is a strange thing happening though: 1) I can access and login to my mobile web app from any internet browser. (good thing). 2) I can access and login to my mobile web app from any Palm Treo web browser. (good thing). 3) When I use a regular mobile phone (samsung/motorola...etc) and load up my website on the browser, it takes me to the login page. Now, when I enter my...
0
964
by: Dilip | last post by:
hi to all . i am fresher in ASP.NET and i had done almost about my project. but now i am unable to deal with admin login . i am having a table named "login" and 3 fields "username","password and type of user". now on the login form what i need to require is that fetch the data from the login form and validate it from login table. will anybody help me out in it..i am looking for a positive response.. thanx
10
13102
by: shankhar | last post by:
Hi all, In my project there is a requirement. If a user logged in at a time since he/she logged out others are not allowed to loggin using the same user name. That is to avoid multiple logins using a account. How to do this? I had got a idea and implemented. 1. When a user logs in storing the username, ip, login time to db.
3
2535
by: Sleepwalker | last post by:
Hi, I'm currently working on creating a stripped down part of a company web page, that will be accessed from cellphone. The problem I have is that the Windows Forms authentication makes it difficult for me to create more than one login page. In my web.config file I have it set so that unauthenticated users will be directed to the default.aspx page which handles logging in. As part of the default.aspx Page_Load I transfer users to a...
6
8164
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql server mobile ce database. Until recently I was synching everything thru a com port serial cable. The devices would connect to the computer thru activesync and are able to acquire an internet connection. The sync for the program occurs thru a website...
0
1485
by: mattng604 | last post by:
Hi, I am trying to typecast a void* pointer to a structure I defined called _sfrdm336_mdb. However, when I try, I get the following error: Oops in fault.c, Unable to handle kernel paging request at virtual address 00000004 . Could you please help me? I'm very stuck! I even tried ioremap() to map the physical address kmalloc returns to a virtual address. The problem occurs when I try to do the typecast (sFRDM336_MDB *) below:
3
1896
by: liz0001 | last post by:
I am developing a mobile version of my site. I have limited testing resources: a Blackberry and Kindle. I have a friend who can run a test on an iPhone, but I don't have access to it. The problem is that I can log in to the site on the Blackberry and the Advanced version of the Kindle browser, but not with the simple version or with the iPhone. I believe the problem is with the cookies, since the database is registering a login for all...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10118
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5403
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2897
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.