procedure TForm1.btnFindClick(Sender: TObject); var MsgNumbers: TStrings; begin clIMAP4.Server := 'mail.test.com'; clIMAP4.UserName := 'test'; clIMAP4.Password := 'test'; clIMAP4.UseTLS := ctNone; clIMAP4.UseSasl := False; clIMAP4.Open(); clIMAP4.SelectMailBox('MyMailbox'); MsgNumbers := TStringList.Create(); try clIMAP4.SearchMessages('SUBJECT hello', MsgNumbers); ShowMessage(MsgNumbers.Text); finally MsgNumbers.Free(); end; clIMAP4.Close(); end;
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add admin@clevercomponents.com to your trusted senders list in your email software.