Identitity for the POP3 account.
property Username;
(Delphi) Connecting to a POP3 server.
// IdPOP3: TIdPOP3; IdPOP3.Host := 'mailhost.myisp.net'; IdPOP3.Username := 'johndoe'; IdPOP3.Password := 'topsecreteyesonly'; IdPOP3.APOP := True; IdPOP3.AutoLogin := True; try IdPOP3.Connect(30000); except // handle timeout or authentication error on E: EIdException do HandleConnectError(E); end;
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |