[ Version ( since = "3.58" ) ]
public virtual bool search_body_sync (GenericArray<string> words, out GenericArray<unowned string> out_uids, Cancellable? cancellable = null) throws Error
Search the folder for messages with body containing words.
The list of satisfying message UIDs is returned in the out_uids. The result list can be empty, meaning no such message
exists.
Free the returned out_uids with g_ptr_array_unref, when no longer needed.
This is an optional helper method, meant to search server-side. The default implementation returns a G_IO_ERROR_NOT_SUPPORTED error.
| this |
a Folder |
| words |
a list of words to search for, or null to check an existence of the header instead |
| out_uids |
a GenericArray of the satisfying message UIDs |
| cancellable |
optional Cancellable object, or null |
|
whether could search and set the |