Poco General FAQ - Common Variable Tags

Q: Is there anywhere a definitive list of Poco variable/tag/thingies? The help file lists common ones, which is great, but I can find no details, for instance, on the new %dayofmonth% variable, which leads me to believe that the Poco help files aren't up-to-date on such matters.

I'd love to have a list of ALL the variables available - even if I never use them.

 
A:
This list is a comprehensive list of %<str>% values known to Poco. Not all of them are CVTs. Note that because of the way that I got this information, it should not be considered official in any way, and may change in the future.

Some of the following may be avaiable in earlier versions of Poco.
%account%The name of the current account.
%accounts%A list of accounts, used in selection prompts from scripts.
%addressbooks%A list of address books, used in script selection prompts and .
%addressgroups% 
%addresspath%The path to the address books directory.
%AppData% 
%AppDir% 
%AppName% 
%apppath%The path to the directory in which Poco was installed.
%attached% 
%attachments% 
%attachpath%The path to the attachments folder.
%background% 
%bcc% 
%bccemail% 
%bccfirst% 
%bcclast% 
%bccname% 
%bcc_field%:"anniversary" 
%bcc_field%:"birthday" 
%bcc_field%:"businessaddress" 
%bcc_field%:"company" 
%bcc_field%:"customdata1" 
%bcc_field%:"customdata2" 
%bcc_field%:"customdata3" 
%bcc_field%:"customdata4" 
%bcc_field%:"customdata5" 
%bcc_field%:"customdesc1" 
%bcc_field%:"customdesc2" 
%bcc_field%:"customdesc3" 
%bcc_field%:"customdesc4" 
%bcc_field%:"customdesc5" 
%bcc_field%:"department" 
%bcc_field%:"email" 
%bcc_field%:"email2" 
%bcc_field%:"email3" 
%bcc_field%:"fax" 
%bcc_field%:"first" 
%bcc_field%:"homeaddress" 
%bcc_field%:"im1" 
%bcc_field%:"im2" 
%bcc_field%:"last" 
%bcc_field%:"middle" 
%bcc_field%:"mobile" 
%bcc_field%:"mobile2" 
%bcc_field%:"name" 
%bcc_field%:"nick" 
%bcc_field%:"notes" 
%bcc_field%:"pager" 
%bcc_field%:"prefix" 
%bcc_field%:"spouse" 
%bcc_field%:"suffix" 
%bcc_field%:"tel" 
%bcc_field%:"tel2" 
%bcc_field%:"title" 
%bcc_field%:"url1" 
%bcc_field%:"url2" 
%body% 
%bool% 
%cc%The names and email addresses of all entries in the CC: header. Returned on multiple lines.
%ccemail%The email address(es) of all carbon copy (CC:) recipient(s) of the message.3
%ccfirst%The first name(s)1 of all carbon copy recipient(s) of the message.3
%cclast%The last name(s)2 of the carbon copy recipient(s) of the message.3
%ccname%The name(s) of all carbon copy recipient(s) of the message.3
%cc_field%:"anniversary" 
%cc_field%:"birthday" 
%cc_field%:"businessaddress" 
%cc_field%:"company" 
%cc_field%:"customdata1" 
%cc_field%:"customdata2" 
%cc_field%:"customdata3" 
%cc_field%:"customdata4" 
%cc_field%:"customdata5" 
%cc_field%:"customdesc1" 
%cc_field%:"customdesc2" 
%cc_field%:"customdesc3" 
%cc_field%:"customdesc4" 
%cc_field%:"customdesc5" 
%cc_field%:"department" 
%cc_field%:"email" 
%cc_field%:"email2" 
%cc_field%:"email3" 
%cc_field%:"fax" 
%cc_field%:"first" 
%cc_field%:"homeaddress" 
%cc_field%:"im1" 
%cc_field%:"im2" 
%cc_field%:"last" 
%cc_field%:"middle" 
%cc_field%:"mobile" 
%cc_field%:"mobile2" 
%cc_field%:"name" 
%cc_field%:"nick" 
%cc_field%:"notes" 
%cc_field%:"pager" 
%cc_field%:"prefix" 
%cc_field%:"spouse" 
%cc_field%:"suffix" 
%cc_field%:"tel" 
%cc_field%:"tel2" 
%cc_field%:"title" 
%cc_field%:"url1" 
%cc_field%:"url2" 
%ConfigID% 
%counttotal%:"Mailbox"Counts the total number of messages in mailbox "Mailbox". Note: Quotes are required around the mailbox name.
%countunread%:"Mailbox"Counts the number of unread messages in mailbox "Mailbox". Note: Quotes are required around the mailbox name.
%date%The current date.
%dateafter% 
%dateandtime%The current date and time.
%datebefore% 
%dateon% 
%day%The current day of the week (eg: Wednesday).
%dayofmonth%The day within the current month (eg: 16).
%deliveredafter% 
%deliveredbefore% 
%deliveredon% 
%email%The email address associated with the current account.
%encoded% 
%exceptreceivers% 
%exceptsenders% 
%file%:"" 
%from% 
%from_field%:"anniversary" 
%from_field%:"birthday" 
%from_field%:"businessaddress" 
%from_field%:"company" 
%from_field%:"customdata1" 
%from_field%:"customdata2" 
%from_field%:"customdata3" 
%from_field%:"customdata4" 
%from_field%:"customdata5" 
%from_field%:"customdesc1" 
%from_field%:"customdesc2" 
%from_field%:"customdesc3" 
%from_field%:"customdesc4" 
%from_field%:"customdesc5" 
%from_field%:"department" 
%from_field%:"email" 
%from_field%:"email2" 
%from_field%:"email3" 
%from_field%:"fax" 
%from_field%:"first" 
%from_field%:"homeaddress" 
%from_field%:"im1" 
%from_field%:"im2" 
%from_field%:"last" 
%from_field%:"middle" 
%from_field%:"mobile" 
%from_field%:"mobile2" 
%from_field%:"name" 
%from_field%:"nick" 
%from_field%:"notes" 
%from_field%:"pager" 
%from_field%:"prefix" 
%from_field%:"spouse" 
%from_field%:"suffix" 
%from_field%:"tel" 
%from_field%:"tel2" 
%from_field%:"title" 
%from_field%:"url1" 
%from_field%:"url2" 
%fullname%Inserts your full name entered in the Accounts Setup (F3). This setting will vary depending on which account is currently in use.
%header%:""Can be used to copy a specified header into a document. Eg: Use this syntax to print annotations.
%header%:"Subject" 
%header%:"X-Bcc" 
%header%:"x-url" 
%headers% 
%helppath%The path to the folder in which the help files are kept.
%html% 
%iconpath%The path to the directory where the icon files are stored.
%inmailbox%The name of the In mailbox associated with the current account.
%junkatleast% 
%junkatmost% 
%junkbody% 
%junksenders% 
%junksubjects% 
%lastmonth% 
%lastweek% 
%lastyear% 
%lowercase%:"" 
%mailboxes% 
%mailpath%The path to the directory where the messages are stored.
%marked% 
%markedas% 
%message% 
%month%The full name of the current month.
%MyDocuments% 
%name% 
%past3months% 
%qbody% 
%random% 
%random%:" 
%random%:"" 
%recipients% 
%recipientsatleast% 
%recipientsatmost% 
%replyto% 
%scriptpath%The path to the scripts directory.
%sender%The name of the sender of a message (from the "From" header).
%senderfirst%The first name of the sender of a message.1
%senderlast%The last name of the sender of a message.2
%sent% 
%sentmailbox%The name of the Sent mailbox.
%sigpath%The path to the signatures directory.
%sizeatleast% 
%sizeatmost% 
%skinpath%The path to the skins directory.
%Software\Addictive Software\%AppName% 
%subject% 
%tag%Inserts the optional account signature tag associated with the current account.
%templatepath%The path to the templates directory.
%temppath%The path to the temporary files directory.
%thismonth% 
%thisweek% 
%thisyear% 
%time%The current time.
%to% 
%today% 
%toemail%The email address(es) of the primary (To:) recipient(s) of the message.3
%tofirst%The first name(s)1 of the primary recipient(s) of the message.3
%tolast%The last name(s)2 of the primary recipient(s) of the message.3
%toname%The name(s) of the primary recipient(s) of the message.3
The following fields all lookup information about the recipient of a message using your address book.
%to_field%:" 
%to_field%:"anniversary"Anniversary
%to_field%:"birthday"Birthdate
%to_field%:"businessaddress" 
%to_field%:"company"Company name
%to_field%:"customdata1" 
%to_field%:"customdata2" 
%to_field%:"customdata3" 
%to_field%:"customdata4" 
%to_field%:"customdata5" 
%to_field%:"customdesc1" 
%to_field%:"customdesc2" 
%to_field%:"customdesc3" 
%to_field%:"customdesc4" 
%to_field%:"customdesc5" 
%to_field%:"department"Department name
%to_field%:"email"Primary email address
%to_field%:"email2"Business email address
%to_field%:"email3"Personal email address
%to_field%:"fax" 
%to_field%:"first"First name
%to_field%:"homeaddress" 
%to_field%:"im1" 
%to_field%:"im2" 
%to_field%:"last"Last name
%to_field%:"middle" 
%to_field%:"mobile" 
%to_field%:"mobile2" 
%to_field%:"name"Full (display) name
%to_field%:"nick"Nickname
%to_field%:"notes" 
%to_field%:"pager" 
%to_field%:"prefix" 
%to_field%:"spouse"Spouse's name
%to_field%:"suffix" 
%to_field%:"tel" 
%to_field%:"tel2" 
%to_field%:"title" 
%to_field%:"url1" 
%to_field%:"url2" 
%uppercase%:" 
%uppercase%:"subject" 
%userheader% 
%userheader%:"" 
%userheaderdata% 
%usermailbox1%The 1st user custom mailbox menu assignment.
%usermailbox2%The 2nd user custom mailbox menu assignment.
%usermailbox3%The 3rd user custom mailbox menu assignment.
%usermailbox4%The 4th user custom mailbox menu assignment.
%usermailbox5%The 5th user custom mailbox menu assignment.
%UserName% 
%userspath%The path to the "Users" directory.
%var%Used in the InputBox PocoScript command to indicate a drop down list.
%who% 
%xurl%Inserts the X-URL field for the current account.
%year%The current year.
%yesterday% 

Footnotes:
1 Taken from the first word in the message header that defines this information.
2 Taken from the last word in the message header that defines this information.
3 If there is more than one entry in the addresses of the header that defines this information then the fields are separated with commas.