Method MessagePath
- Namespace
- MailFathom.Domain.Exports
- Assembly
- MailFathom.Domain.dll
MessagePath(string, string)
Composes the whole path one message is written at, inside its folder's Maildir.
public static string MessagePath(string folderDirectory, string fileName)
Parameters
folderDirectorystringWhat FolderDirectory(IReadOnlyList<string>, bool) answered for the folder the message is in.
fileNamestringWhat MessageFileName(DateTimeOffset, long, long, MaildirFlagSet) minted for the message.
Returns
- string
A relative path under the archive root, which is what every entry of the archive is.
Exceptions
- ArgumentNullException
Thrown when either argument is null.