Main.dfm 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. object Form1: TForm1
  2. Left = 193
  3. Top = 149
  4. BorderStyle = bsDialog
  5. Caption = 'IdSMTPServer Demo'
  6. ClientHeight = 239
  7. ClientWidth = 375
  8. Color = clBtnFace
  9. Font.Charset = DEFAULT_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -11
  12. Font.Name = 'MS Sans Serif'
  13. Font.Style = []
  14. OldCreateOrder = False
  15. PixelsPerInch = 96
  16. TextHeight = 13
  17. object Label1: TLabel
  18. Left = 8
  19. Top = 48
  20. Width = 16
  21. Height = 13
  22. Caption = 'To:'
  23. end
  24. object Label2: TLabel
  25. Left = 8
  26. Top = 64
  27. Width = 26
  28. Height = 13
  29. Caption = 'From:'
  30. end
  31. object Label3: TLabel
  32. Left = 8
  33. Top = 80
  34. Width = 39
  35. Height = 13
  36. Caption = 'Subject:'
  37. end
  38. object ToLabel: TLabel
  39. Left = 56
  40. Top = 48
  41. Width = 3
  42. Height = 13
  43. end
  44. object FromLabel: TLabel
  45. Left = 56
  46. Top = 64
  47. Width = 3
  48. Height = 13
  49. end
  50. object SubjectLabel: TLabel
  51. Left = 56
  52. Top = 80
  53. Width = 3
  54. Height = 13
  55. end
  56. object Memo1: TMemo
  57. Left = 8
  58. Top = 96
  59. Width = 361
  60. Height = 137
  61. ScrollBars = ssVertical
  62. TabOrder = 0
  63. end
  64. object btnServerOn: TButton
  65. Left = 242
  66. Top = 7
  67. Width = 65
  68. Height = 25
  69. Caption = 'Server on'
  70. TabOrder = 1
  71. OnClick = btnServerOnClick
  72. end
  73. object btnServerOff: TButton
  74. Left = 307
  75. Top = 7
  76. Width = 65
  77. Height = 25
  78. Caption = 'Server off'
  79. Enabled = False
  80. TabOrder = 2
  81. OnClick = btnServerOffClick
  82. end
  83. object IdSMTPServer1: TIdSMTPServer
  84. Bindings = <>
  85. CommandHandlers = <>
  86. ExceptionReply.Code = '500'
  87. ExceptionReply.Text.Strings = (
  88. 'Unknown Internal Error')
  89. Greeting.Code = '220'
  90. Greeting.Text.Strings = (
  91. 'Welcome to the INDY SMTP Server')
  92. HelpReply.Text.Strings = (
  93. 'Help follows')
  94. MaxConnectionReply.Code = '300'
  95. MaxConnectionReply.Text.Strings = (
  96. 'Too many connections. Try again later.')
  97. ReplyTexts = <>
  98. ReplyUnknownCommand.Code = '500'
  99. ReplyUnknownCommand.Text.Strings = (
  100. 'Syntax Error')
  101. ReplyUnknownCommand.EnhancedCode.StatusClass = 5
  102. ReplyUnknownCommand.EnhancedCode.Subject = 5
  103. ReplyUnknownCommand.EnhancedCode.Details = 2
  104. ReplyUnknownCommand.EnhancedCode.Available = True
  105. ReplyUnknownCommand.EnhancedCode.ReplyAsStr = '5.5.2'
  106. OnMsgReceive = IdSMTPServer1MsgReceive
  107. OnUserLogin = IdSMTPServer1UserLogin
  108. OnMailFrom = IdSMTPServer1MailFrom
  109. OnRcptTo = IdSMTPServer1RcptTo
  110. OnReceived = IdSMTPServer1Received
  111. ServerName = 'Indy SMTP Server'
  112. Left = 6
  113. Top = 2
  114. end
  115. end