All help topics · Link to this topic
Showing help on '$mail_agent'
mail distribution center ($mail_agent #46):resolve_addr - resolve(name,from,seen,prevrcpts,prevnotifs) => {rcpts,notifs} or E_INVARG
:sends_to - sends_to(from,addr,rcpt[,seen]) ==> true iff mail sent to addr passes through rcpt.
:send_message - send_message(from,rcpt-list,hdrs,msg) -- formats and sends a mail message.
:raw_send - WIZARDLY
:touch - touch(name or list,seen) => does .last_used_time = time() if we haven't already touched this in the last hour
:acceptable - Only allow mailing lists/folders in here and only if their names aren't already taken.
:check_names - ...make sure the list has at least one usable name.
:match(string) => mailing list object in here that matches string.
:match_recipient(string[,meobj]) => $player or $mail_recipient object that matches string. Optional second argument (defaults to player) is returned in the case string=="me" and is also used to obtain a list of private $mail_recipients to match against.
:make_message(sender,recipients,subject/replyto/additional-headers,body)
:parse_address_field(string) => list of objects
:display_seq_full(msg_seq[,preamble]) => {cur, last-read-date}
:display_seq_headers(msg_seq[,cur[,last_read_date]])
:rm_message_seq(msg_seq) removes the given sequence of from folder (caller)
:undo_rmm() restores previously deleted messages in .messages_going to .messages.
:list_rmm() displays contents of .messages_going.
:renumber([cur]) -- assumes caller is a $mail_recipient or a $player.
:msg_summary_line(@msg) => date/from/subject as a single string.
:parse_message_seq - parse_message_seq(strings,cur[,last_old])
:_parse_from(string with |'s in it) => object list
:new_message_num() => number that the next incoming message will receive.
:length_num_le(num) => number of messages in folder numbered <= num
:exists_num_eq(num) => index of message in folder numbered == num
:from_msg_seq(object or list[,mask])
:%from_msg_seq(string or list of strings[,mask])
:to_msg_seq(object or list[,mask]) => msg_seq of messages to those people
:%to_msg_seq(string or list of strings[,mask])
:subject_msg_seq(target) => msg_seq of messages with target in the Subject:
:body_msg_seq(target[,mask]) => msg_seq of messages with target in the body
:messages_in_seq(msg_seq) => list of messages in msg_seq on folder (caller)
:__convert_new(@msg) => msg in new format (if it isn't already)
:to_text(@msg) => message in text form (suitable for printing)
:reserved_pattern(string)
:keep_message_seq(msg_seq)
:kept_msg_seq([mask])
:msg_seq_to_msg_num_string(msg_seq) => string giving the corresponding message numbers
:msg_seq_to_msg_num_list(msg_seq) => list of corresponding message numbers
:send_log_message - send_log_message(perms,from,rcpt-list,hdrs,msg) -- formats and sends a mail message.
:parse_misc_headers(msg,@extract_names)
:resend_message - resend_message(new_sender,new_rcpts,from,to,hdrs,body)
:time - This was inspired by Xeric's port 4632 on *Core-DB-Issues
Also from $room: 78 documented verbs. help $room
Also from $place: 4 documented verbs. help $place
Also from $gpo: 27 documented verbs. help $gpo
Also from #1381: 1 documented verb. help #1381
Also from $gas_container: 22 documented verbs. help $gas_container