The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

POP3 mailboxes and subaddresses


  • Subject: POP3 mailboxes and subaddresses
  • From: Stuart Booth
  • Date: Fri, 26 Dec 2003 12:06:00 +0000

I've changed the way my POP3 mailbox monitor works. It now pumps out
messages using hardware subaddresses for mail server and mailbox
username (much easier to filter on in Viewer this way too :) For
instance, taking my xFx e/m address:

xap-header
{
v=12
hop=1
uid=FF125002
class=Mail.Incoming
source=KCSoft.POP3.server:mail_xapframework_net.stuart
}
Status
{
mailserver=mail.xapframework.net
total=0
<a
href="/group/xAP_developer/post?postID=L7ikPf55-WA2J6OhMu8ewJOQaLjwJ2hx9tj5ImFkfPyO-kFr32s0Q1F8gQr4qyCL7vkNetxOV6n17oTKt8X3TpUNpwE15kDCj2U">username=stuart@x...</a>
}

As you can see from the Source line I've morphed the mail server name
by replacing .'s with _'s. I've also dropped everything after the @ in
the email address.

There is data duplication b/w the h/w subaddresses and the Status
message block. However this means the data can be retrieved by
multiple means depending on what part of the message you retain for
processing. Plus the body block is more complete and appropriate
because it hasn't been altered or shortened to conform to address
rules.

My question is this ... when I do an explicit mail status request,
should I process Target address or the message body contents? Or both?

** No specific targetting - parameters are in the message body block:

xap-header
{
v=12
Hop=1
UID=FF123400
Class=Mail.Incoming
Source=KCSoft.Send.Anya
}
Status.Request
{
MailServer=mail.domainname.com
<a
href="/group/xAP_developer/post?postID=JZAm8O2TG03LBgqbnLEK0ziZ88u9drmRVCvaeSxNtMCjQkc62bi4Udjmf8fqLzPlrb3R4j9cdemOHyyA1EQkknrv4uGVwRk">UserName=user@d...</a>
}

If I target a mailbox subaddress specifically then I can drop the
contents of the Status.Request block.

** Specific targetting - parameters are implicit in the message header:

xap-header
{
v=12
Hop=1
UID=FF123400
Class=Mail.Incoming
Source=KCSoft.Send.Anya
Target=KCSoft.POP3.server:mail_xapframework_net.stuart
}
Status.Request
{
}

Any preferences springing to mind, anyone?

S
--
Stuart Booth <<a
href="/group/xAP_developer/post?postID=r_yzawXOg3PnVmWYYZYfqVholjWK-nfx90I-5F7xWBJGjJbji7UuvCEMnk9DQSxXFhERnI0LPlDTy-7sIns">stuart@x...</a>>
xAPFramework.net - a xAP software development framework for .net

<a href="http://www.xapautomation.org/";>http://www.xapautomation.org/</a>
<a href="http://www.xapframework.net/";>http://www.xapframework.net/</a>





xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.