-
Message attributes
From
Nightfox@VERT/DIGDIST to
All on Thu Jan 1 09:04:41 2015
Hi all,ããWhen I get a message header, I know the 'attr' property can be tested againstãthese values in sbbsdefs.js to see which attributes are set:ã/* Message attributes */ãvar MSG_PRIVATE =(1<<0);ãvar MSG_READ=(1<<1);ãvar MSG_PERMANENT=(1<<2);ãvar MSG_LOCKED=(1<<3);ãvar MSG_DELETE=(1<<4);ãvar MSG_ANONYMOUS=(1<<5);ãvar MSG_KILLREAD=(1<<6);ãvar MSG_MODERATED=(1<<7);ãvar MSG_VALIDATED=(1<<8);ãvar MSG_REPLIED=(1<<9);// User replied to this messageãvar MSG_NOREPLY=(1<<10);// No replies (or bounces) should be sent to the senderããI also see a section right below those in sbbsdefs.js that say "Auxiliaryãheader attributes" and "Message network attributes", and those have some of theãsame values as the message attributes. Are there different fields in a messageãheader object that can be tested for those?ããThese are the values I see in sbbsdefs.js:ã/* Auxillary header attributes */ãvar MSG_FILEREQUEST =(1<<0); // File requestãvar MSG_FILEATTACH=(1<<1); // File(s) attached to Msgãvar MSG_TRUNCFILE=(1<<2); // Truncate file(s) when sentãvar MSG_KILLFILE=(1<<3); // Delete file(s) when sentãvar MSG_RECEIPTREQ=(1<<4); // Return receipt requestedãvar MSG_CONFIRMREQ=(1<<5); // Confirmation receipt requestedãvar MSG_NODISP=(1<<6); // Msg may not be displayed to userãã/* Message network attributes */ãvar MSG_LOCAL=(1<<0); // Msg created locallyãvar MSG_INTRANSIT=(1<<1); // Msg is in-transitãvar MSG_SENT=(1<<2); // Sent to remoteãvar MSG_KILLSENT=(1<<3); // Kill when sentãvar MSG_ARCHIVESENT =(1<<4); // Archive when sentãvar MSG_HOLD=(1<<5); // Hold for pick-upãvar MSG_CRASH=(1<<6); // Crashãvar MSG_IMMEDIATE=(1<<7); // Send Msg now, ignore restrictionsãvar MSG_DIRECT=(1<<8); // Send directly to destinationãvar MSG_GATE=(1<<9); // Send via gatewayãvar MSG_ORPHAN=(1<<10); // Unknown destinationãvar MSG_FPU =(1<<11); // Force pickupãvar MSG_TYPELOCAL=(1<<12); // Msg is for local use onlyãvar MSG_TYPEECHO=(1<<13); // Msg is for conference distributionãvar MSG_TYPENET =(1<<14); // Msg is direct network mailããNightfoxãã---ã þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.comã
-
From
echicken@VERT/ECBBS to
Nightfox on Thu Jan 1 13:14:27 2015
Re: Message attributesã By: Nightfox to All on Thu Jan 01 2015 09:04:41ãã Ni> When I get a message header, I know the 'attr' property can be testedã Ni> against these values in sbbsdefs.js to see which attributes are set:ãã Ni> I also see a section right below those in sbbsdefs.js that say "Auxiliaryã Ni> header attributes" and "Message network attributes", and those have someã Ni> of the same values as the message attributes. Are there different fieldsã Ni> in a message header object that can be tested for those?ããA header object has 'auxattr' and 'netattr' properties as well. Seeãdocs on MsgBase.save_msg for more.ãã---ãechickenãelectronic chicken bbs - bbs.electronicchicken.com - 416-273-7230ã þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.comã
-
From
Nightfox@VERT/DIGDIST to
echicken on Thu Jan 1 13:17:10 2015
Re: Message attributesã By: echicken to Nightfox on Thu Jan 01 2015 13:14:27ãã ec> A header object has 'auxattr' and 'netattr' properties as well. Seeã ec> docs on MsgBase.save_msg for more.ããI see, thanks.ããNightfoxãã---ã þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Thu Jan 1 17:35:37 2015
Re: Message attributesã By: Nightfox to All on Thu Jan 01 2015 09:04 amãã > Hi all,ã >ã > When I get a message header, I know the 'attr' property can be testedã > against these values in sbbsdefs.js to see which attributes are set:ã > /* Message attributes */ã > var MSG_PRIVATE =(1<<0);ã > var MSG_READ=(1<<1);ã > var MSG_PERMANENT=(1<<2);ã > var MSG_LOCKED=(1<<3);ã > var MSG_DELETE=(1<<4);ã > var MSG_ANONYMOUS=(1<<5);ã > var MSG_KILLREAD=(1<<6);ã > var MSG_MODERATED=(1<<7);ã > var MSG_VALIDATED=(1<<8);ã > var MSG_REPLIED=(1<<9);// User replied to this messageã > var MSG_NOREPLY=(1<<10);// No replies (or bounces) should be sent to theã > senderã >ã > I also see a section right below those in sbbsdefs.js that say "Auxiliaryã > header attributes" and "Message network attributes", and those have some ofã > the same values as the message attributes. Are there different fields in aã > message header object that can be tested for those?ããDifferent header properties, yes.ãã > These are the values I see in sbbsdefs.js:ã > /* Auxillary header attributes */ã > var MSG_FILEREQUEST =(1<<0); // File requestã > var MSG_FILEATTACH=(1<<1); // File(s) attached to Msgã > var MSG_TRUNCFILE=(1<<2); // Truncate file(s) when sentã > var MSG_KILLFILE=(1<<3); // Delete file(s) when sentã > var MSG_RECEIPTREQ=(1<<4); // Return receipt requestedã > var MSG_CONFIRMREQ=(1<<5); // Confirmation receipt requestedã > var MSG_NODISP=(1<<6); // Msg may not be displayed to userããThose flags apply to the header 'auxattr' property.ãã > /* Message network attributes */ã > var MSG_LOCAL=(1<<0); // Msg created locallyã > var MSG_INTRANSIT=(1<<1); // Msg is in-transitã > var MSG_SENT=(1<<2); // Sent to remoteã > var MSG_KILLSENT=(1<<3); // Kill when sentã > var MSG_ARCHIVESENT =(1<<4); // Archive when sentã > var MSG_HOLD=(1<<5); // Hold for pick-upã > var MSG_CRASH=(1<<6); // Crashã > var MSG_IMMEDIATE=(1<<7); // Send Msg now, ignore restrictionsã > var MSG_DIRECT=(1<<8); // Send directly to destinationã > var MSG_GATE=(1<<9); // Send via gatewayã > var MSG_ORPHAN=(1<<10); // Unknown destinationã > var MSG_FPU =(1<<11); // Force pickupã > var MSG_TYPELOCAL=(1<<12); // Msg is for local use onlyã > var MSG_TYPEECHO=(1<<13); // Msg is for conference distributionã > var MSG_TYPENET =(1<<14); // Msg is direct network mailããThese flags apply to the header 'netattr' property (most are never set/used).ãã digital manããSynchronet "Real Fact" #31:ãThe second most prolific contributor to Synchronet is Stephen Hurd (Deuce).ãNorco, CA WX: 50.0øF, 47.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Nightfox@VERT/DIGDIST to
Digital Man on Thu Jan 1 21:32:23 2015
Re: Message attributesã By: Digital Man to Nightfox on Thu Jan 01 2015 17:35:37ãã DM> Different header properties, yes.ãã DM> Those flags apply to the header 'auxattr' property.ãã DM> These flags apply to the header 'netattr' property (most are neverã DM> set/used).ããI see, thanks.ããNightfoxãã---ã þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.comã