I need to check e-mails and get their texts (messages). Below is my script. How to get e-mail text? I use 8.1 platform.
Thank you in advance.
Profile = New InternetMailProfile; Profile.User = User; Profile.Password = Pass; Profile... MailBox = New InternetMail; MailBox.Logon(Profile); Mails = MailBox.Get(true); If Mails.Count() > 0 Then For each Mail in Mails Do //here I need to get text of mail and process it line by line, how to do it? EndDo; EndIf;