public GetMail() { ConfigRetriever configRetriever = new ConfigRetriever(); config = configRetriever.Load(); server = config.server; email = config.email; password = config.password; attachmentsDirPath = $@"{configRetriever.userPath}\OneDrive\Scripts\data\berlys\attachments\"; }
public FilenameHandler() { ConfigRetriever configRetriever = new ConfigRetriever(); config = configRetriever.Load(); string userPath = configRetriever.userPath; TemporaryDirPath = $@"{userPath}\AppData\Local\Temp\"; DownloadsDirPath = $@"{userPath}\Downloads\"; DataDirPath = $@"{userPath}\OneDrive\Scripts\data\berlys\"; AttachmentsDirPath = $@"{userPath}\OneDrive\Scripts\berlys\data\attachments\"; }