hi ..
I am trying to make a WAP based email client using
coldfusion.My problem is that i want the latest
messages in my inbox of pop account to be displayed at
the top.Though i think of doing it in a way but i feel
it as adhoc n not a good way.What i intend to do is
first retrieving all mail headers, rocording its
count,
then diaplaying these headers using CFLOOP (over
query).. but this way i can get the latest mails n not
the latest one on the top...(hope u r getting what i
mean...(code is below).
ONe more query i am having is  that
"IS THERE A WAY TO KNOW JUST THE UNREAD MESSAGES IN UR
POP MAIL?????".
Since the memory is very less for wap based devices,
it
becomes necessarry to optimize the code n speed.
Any help will be appreciated...
Also specially thanking to JAMMIE and DAVE for
responding my earlier mail...:).

####################
<CFCONTENT type="text/vnd.wap.wml">
<CFPOP server="mail.sever.net" username="#uname#"
password="#pword#" action="GetHeaderOnly"
name="mailhead" timeout="180">
<?xml version="1.0"?>
<!DOCTYPE wml public "-//PHONE.COM//DTD WML 1.1//EN"
"http://www.phone.com/dtd/wml11.dtd">
<WML>
<CARD id="headercd" title="headers">
<P>
<CFOUTPUT>
        <CFLOOP query="mailhead"
startrow="#mailhead.recordcount# -5"
endrow="#mailhead.recordcount#">
                #mailhead.from# #mailhead.subject#
        </CFLOOP>
</CFOUTPUT>
</P></CARD></WML>
########################################


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to