One way is to use the IMAP protocol as follows:\
Telnet into port 143 on your server and enter this (the lines begining with
* are server responses).

* OK IMAP4 Server (IMail 6.06)
1 login [EMAIL PROTECTED] password
1 OK LOGIN completed
1 examine inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* 33 EXISTS
* 0 RECENT
* OK [UNSEEN 31] 2 Messages unseen
* OK [PERMANENTFLAGS ()]
* OK [UIDVALIDITY 2431986063] UIDs valid
1 OK [READ-ONLY] EXAMINE completed

The "RECENT" field will return the number of new messages since last login.
The "UNSEEN" will indicate the first unread message number then follows the
total number of unread messages.
You will need to interface with the IMAP port yourself using ASP, CF or
anything that you can get your hands on.

Good Luck,
Chris
----------------------------------------------
Original Message
From: "Dannyk"<[EMAIL PROTECTED]>
Subject: RE: [IMail Forum] Number of New Messages
Date: Thu, 17 Jan 2002 18:27:22 -0800

>Does "You've Got Imail" work on a stand alone IIS server (No Imail
>installed) without KillerWebMail running?
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Ron Hornbaker
>Sent: Thursday, January 17, 2002 3:00 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [IMail Forum] Number of New Messages
>
>
>> I was wondering if anyone knows of an easy way of checking via
>> asp if a user has new messages within their mailbox when they
>> haven't logged in. <snip>
>
>If there's an easy way, I'd like to know about it. We researched this same
>issue for several weeks, and tried the usual suspects: POP3 protocol,
>IMAP4, etc., until we finally figured out how to do it with a combination
>of open-source ASP, a custom COM object, and the webmail interface. The
>best surprise was that it performs extremely well (gets the new msg count
>in < 0.5 s, and keeps load off the webmail server when people don't login
>just to check for new messages).
>
>We added a bunch of features (like the ability to compose a new message
>from your regular website), and bundled it up into a product called
>"You've Got Imail". It's being used by a couple of hundred IMail admins
>out there since it's release over a year ago. Details and a live demo link
>are at:
>
> http://www.humankindsystems.com/products/detail.htm?code=IM-YGI
>
>Note that KillerWebMail is pre-configured to work with YGI, but you can
>make it work with any set of web templates, as we explain in this article:
>
> http://support.answertrack.com/?kb=785
>
>
>Ron Hornbaker
>President/CTO
>  .  .  .  .  .  .  .  .  .  .  .  .  http://humankindsystems.com
>  .  .  .  .  .  .  .  .  .  .  .  .  w e  c o d e.  w e  c a r e.
>
>  .  http://AnswerTrack.com - eCRM email tracking solution
>  .  http://KillerWebMail.com - the name says it all
>  .  http://hksi.net/products - EZSignUp, You'veGotIMail!, etc...
>  .  http://hksi.net/testimonials - 2,237 admins can't be wrong
>
>
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html 
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to