$folder->list_labels(msg_num)
folder
msg_num
Returns a list, in no specific order, of all labels associated with msg_num. If called in scalar context, returns the number of labels associated with the message.
Copyright © 2001 O'Reilly & Associates. All rights reserved.