Difference between revisions of "Unit SMTP"

From Ultibo.org
Jump to: navigation, search
Line 322: Line 322:
 
----
 
----
  
''To be documented''
+
 
 +
'''SMTP logging'''
 +
 
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>SMTP_DEFAULT_LOG_LEVEL:LongWord = SMTP_LOG_LEVEL_DEBUG;</code>
 +
| style="width: 65%;"|Minimum level for SMTP messages. Only messages with level greater than or equal to this will be printed.
 +
|-
 +
|}
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>SMTP_LOG_ENABLED:Boolean;</code>
 +
| style="width: 65%;"|
 +
|-
 +
|}
 +
<br />
  
 
=== Function declarations ===
 
=== Function declarations ===

Revision as of 02:31, 5 January 2017

Return to Unit Reference


Description


Ultibo SMTP interface unit

To be documented

Constants



[Expand]
SMTP specific constants SMTP_*


[Expand]
SMTP status constants SMTP_STATUS_*


[Expand]
SMTP command constants SMTP_COMMAND_*


[Expand]
SMTP sub command constants SMTP_SUB_COMMAND_*


[Expand]
SMTP string constants SMTP_STRING_*


[Expand]
SMTP logging constants SMTP_LOG_*


Type definitions


To be documented

Public variables



SMTP logging

SMTP_DEFAULT_LOG_LEVEL:LongWord = SMTP_LOG_LEVEL_DEBUG; Minimum level for SMTP messages. Only messages with level greater than or equal to this will be printed.
SMTP_LOG_ENABLED:Boolean;


Function declarations



Initialization functions

[Expand]
procedure SMTPInit;
Description: To be documented


SMTP helper functions

[Expand]
procedure SMTPLog(Level:LongWord; const AText:String);
Description: To be documented


[Expand]
procedure SMTPLogInfo(const AText:String);
Description: To be documented


[Expand]
procedure SMTPLogError(const AText:String);
Description: To be documented


[Expand]
procedure SMTPLogDebug(const AText:String);
Description: To be documented


Return to Unit Reference