473,387 Members | 1,282 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Unable to Login in WAPEmail only in Motorola Devices

Hi,

Currently we are facing a unique issue w.r.t Motorola Devices.We are having a WAP Email application,which 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 2465
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 Expert 4TB
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
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.org/wiki/Wireless_Markup_Language

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
  "http://www.wapforum.org/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="VBSCRIPT" CODEPAGE="65001" %〉
  〈%Response.ContentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="send mail"〉
  〈p〉
  〈%
  user=request("user")
  pwd=request("pwd")
  %〉
  Recipients:
  〈input type="text" title="Recipients" 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.asp?user=〈%=user%〉&amp;pwd=〈%=pwd%〉" method="post" accept-charset="utf-8"〉
  〈postfield name="from" value="$(from)"/〉
  〈postfield name="tomail" value="$(tomail)"/〉
  〈postfield name="subject" value="$(subject)"/〉
  〈postfield name="body" value="$(body)"/〉〈/go〉
  〈/do〉
  〈/p〉
  〈p〉
  〈a href="main.asp?user=〈%=user%〉&pwd=〈%=pwd%〉"〉Back /a〉〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------
3.sendOK.asp
〈% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %〉
  〈%Response.ContentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="send Email"〉
  〈p〉
  〈%
  user=request("user")
  pwd=request("pwd")
  tomail=request("tomail")
  'from=request.form("from")
  subject=request.form("subject")
  body=request.form("body")
  servermail=user+"@hotmail.com"
  dim JMail
  set JMail=server.CreateObject("Jmail.message")
  JMail.Silent=true
  JMail.Charset = "utf-8"
  JMail.from =""&ServerMail&""
  JMail.AddRecipient tomail
  JMail.Subject =""&subject&""
  jmail.Body=""&body&"-body HOHO my emil:victorhurui@hotmail.com--"
  JMail.MailServerUserName =user
  JMail.MailServerPassWord = pwd
  JMail.MailDomain = "www.hotmail.com"
  JMail.Priority=2
  sendok=JMail.send("smtp.hotmail.com")
  Set JMail=nothing
  if sendok then
  response.write "send OK!〈a href='main.asp?user="&user&"&pwd="&pwd&"'〉BACK〈/a〉"
  else
  response.write "send fail!〈a href='send.asp?user="&user&"&pwd="&pwd&"'〉BACK〈/a〉"
  end if
  %〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
4 .email_list.asp
〈% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %〉
  〈%Response.ContentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="receive"〉
  〈p〉
  〈%
  user=request("user")
  pwd=request("pwd")
  dim perpage_num,curpage,totalpage
  perpage_num=3 'set how many emails per page show
  if request("page")="" then
  curpage=1 'now page
  else
  curpage=int(request("page"))
  end if
  Set pop3 = Server.CreateObject( "JMail.POP3" )
  pop3.connect user,pwd,"http://pop3.hotmail.com"
  ' POP3 user,password,POP3 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.Write( "you have" &amp; pop3.count & " emails。totalpage "&totalpage&" page,current "&curpage&" page〈br/〉---------------------〈br/〉" )
  if pop3.count 〉 0 then 'if no email then response NO EMAIL
  if pop3.count〉=perpage_num*curpage then
  for i=(curpage-1)*perpage_num to curpage*perpage_num-1%〉
  〈a href="email_info.asp?id=〈%=i+1%〉&user=〈%=user%〉&pw d=〈%=pwd%〉&page=〈%=curpage%〉"〉〈%=pop3.messages.ite m(i+1).Subject%〉--〈%=pop3.messages.item(i+1).date%〉〈/a〉〈br/〉
  〈%next
  %〉
  〈%if curpage〉1 then%〉
  〈a href="email_list.asp?page=〈%=curpage-1%〉&user=〈%=user%〉&pwd=〈%=pwd%〉"〉PRE〈/a〉
   〈%end if%〉
  〈%if int(curpage)〈int(totalpage) then%〉
  〈a href="email_list.asp?page=〈%=curpage+1%〉&user=〈%=u ser%〉&pwd=〈%=pwd%〉"〉NEXT〈/a〉
  〈%end if%〉
  〈%
  else
  for i=(curpage-1)*perpage_num to pop3.count-1%〉
  〈a href="email_info.asp?id=〈%=i+1%〉&user=〈%=user%〉&pw d=〈%=pwd%〉&page=〈%=curpage%〉"〉〈%=pop3.messages.ite m(i+1).Subject%〉--〈%=pop3.messages.item(i+1).date%〉〈/a〉〈br/〉
  〈%next%〉
  〈%if curpage〉1 then%〉
  〈a href="email_list.asp?page=〈%=curpage-1%〉&user=〈%=user%〉&pwd=〈%=pwd%〉"〉PRE〈/a〉
   〈%end if%〉
  〈%if int(curpage)〈int(totalpage) then%〉
  〈a href="email_list.asp?page=〈%=curpage+1%〉&user=〈%=u ser%〉&pwd=〈%=pwd%〉"〉NEXT〈/a〉
  〈%end if%〉
  〈%
  end if
  else
  response.write("NO EMAIL!")
  end if
  pop3.Disconnect
  %〉
  〈/p〉
  〈p〉
  〈a href="main.asp?user=〈%=user%〉&pwd=〈%=pwd%〉"〉BACK〈/a〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
5.email_info.asp
〈% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %〉
  〈%Response.ContentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="view email"〉
  〈p〉
  〈%
  user=request("user")
  pwd=request("pwd")
  id=request("id")
  page=request("page")
  Set pop3 = Server.CreateObject( "JMail.POP3" )
  ' POP3 user,password,POP3 address
  pop3.connect user,pwd,"http://pop3.hotmail.com"
  Set msg = pop3.Messages.item(id)
  ReTo = ""
  ReCC = ""
  Set Recipients = msg.Recipients
  separator = ", "
  For i = 0 To Recipients.Count - 1
  If i = Recipients.Count - 1 Then
  separator = ""
  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=msg.body
  body=replace(body,"〈","")
  body=replace(body,"〉","")
  Set Attachments = msg.Attachments
  %〉
  〈a href="email_title.asp?user=〈%=user%〉&pwd=〈%=pwd%〉& page=〈%=page%〉"〉BACK〈/a〉 〈a href="reply.asp?user=〈%=user%〉&pwd=〈%=pwd%〉&mailto =〈%=msg.From%〉"〉reply〈/a〉 〈a href="email_del.asp?user=〈%=user%〉&pwd=〈%=pwd%〉&id =〈%=id%〉"〉delete〈/a〉
  〈/p〉
  〈p〉
  from:〈%= msg.FromName %〉--〈%=msg.date%〉〈br/〉
  title:〈%= msg.Subject %〉〈br/〉
  content:〈%= body %〉〈br/〉
  〈%
  if Attachments.Count〉0 then
  response.Write("It contain attachments!")
  end if
  pop3.Disconnect
  %〉
  〈/p〉
  〈p〉
  〈a href="email_list.asp?user=〈%=user%〉&pwd=〈%=pwd%〉&p age=〈%=page%〉"〉back〈/a〉 〈a href="reply.asp?user=〈%=user%〉&pwd=〈%=pwd%〉&mailto =〈%=msg.From%〉"〉reply〈/a〉 〈a href="email_del.asp?user=〈%=user%〉&pwd=〈%=pwd%〉&id =〈%=id%〉"〉delete〈/a〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
6. email_del.asp

  〈% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %〉
  〈%Response.ContentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="delete OK"〉
  〈p〉
  〈%
  user=request("user")
  pwd=request("pwd")
  id=request("id")
  Set pop3 = Server.CreateObject( "JMail.POP3" )
  pop3.connect user,pwd,"http://pop3.hotmail.com"
  pop3.deletesinglemessage id
  pop3.Disconnect
  Set JMail=nothing
  response.write delok&amp;"delete OK!〈a href='email_list.asp?user="&user&"&pwd="&pwd&"'〉BA CK〈/a〉"
  %〉
  〈/p〉
  〈/card〉
  〈/wml〉
----------------------------------------------------------------------------------------------------------------
7.Reply.asp

  〈% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %〉
  〈%Response.ContentType = "text/vnd.wap.wml; charset=UTF-8"%〉
  〈?xml version="1.0" encoding="utf-8"?〉
  〈!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"〉
  〈wml〉
  〈card id="main" title="Send"〉
  〈p〉
  〈%
  user=request("user")
  pwd=request("pwd")
  tomail=request("mailto")
  %〉
  From:
  〈%=tomail%〉〈br/〉
  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.asp?user=〈%=user%〉&amp;pwd=〈%=pwd%〉&t omail=〈%=tomail%〉" method="post" accept-charset="utf-8"〉
  〈postfield name="subject" value="$(subject)"/〉
  〈postfield name="body" value="$(body)"/〉〈/go〉
  〈/do〉
  〈/p〉
  〈p〉
  〈a href="email_list.asp?user=〈%=user%〉&pwd=〈%=pwd%〉"〉 Back〈/a〉〈br/〉
  〈a href="main.asp?user=〈%=user%〉&pwd=〈%=pwd%〉"〉Back〈/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
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...
2
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,...
4
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)...
0
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...
10
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...
3
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...
6
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...
0
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...
3
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.