SmtpServer = configurationmanager.appsettings[Popserver = configurationmanager.appsettings[ImapServer = configurationmanager.appsettings[Smtpport =. Parse (configurationmanager.appsettings[popport =. Parse (configurationmanager.appsettings[imapport =. Parse (configurationmanager.appsettings[Sendemali (mailfromaccount, (client = client). Authenticationmechanisms.remove (mimemessage createtextmessage (mailboxaddress fromaddress, IList<MailboxAddres s> title, content, Ispostfiles = message = = title; HTML = Textpart (= Alternative = Multipart (Multipart = Multipart (<MimePart> multipartlist = (item = ILIs T<imessagesummary> Receiveemail (Mailfromaccount, MailPassword, folderName, SearchQuery SearchQuery = folder = UI DSS =<imessagesummary> msglist = list<imessagesummary> (Uidss. Count >) msglist = folder. Fetch (UIDSS, Messagesummaryitems.uniqueid | MimeMessage Getemailbyuniqueid (MailfrOmaccount, MailPassword, id, folder = = = Ilist<mimepart><mimepart> Mimepartlist = List<mimepart> ; Current = = = Filescount = (i =; i < filescount; i++== = = = = Imailfolder Openfolder (mailfromaccou NT, MailPassword, = folder = =context. Response.ContentType = = FileName = + (MemoryStream ms = =