SAP ABAP Class CL_SMTP_CLIENT (SMTP Client Control Block)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RFC (Application Component) RFC
⤷
SSMTP (Package) Development Class for SMTP Communication
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMTP_CLIENT | HTTP Client Abstraction | 20000803 |
Properties
| Class | CL_SMTP_CLIENT | |
| Short Description | SMTP Client Control Block | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SSMTP | Development Class for SMTP Communication |
| Created | 20000620 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SMTP_CLIENT | HTTP Client Abstraction | 20000803 |
Friends
Class CL_SMTP_CLIENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | I | 3 | Number of Logon Attempts | 20000620 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | I | Client Kernel Version | 20120626 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | I | Is GUI active? | 20000620 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | I | 1001 | Error Code: Destination Not Found | 20000620 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | I | 1001 | Error Code: Connection Name Too Long | 20000620 | ||
| 6 | Constant | Public | Type reference (TYPE) | SYSUBRC | 1001 | Exception Status: HTTP_INVALID_STATE | 20000620 | ||
| 7 | Constant | Public | Type reference (TYPE) | SYSUBRC | 1002 | Exception Status: HTTP_NO_OPEN_CONNECTION | 20000620 | ||
| 8 | Instance attribute | Public | Type reference (TYPE) | I | Number of Logon Attempts | 20000620 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | SYSUUID_C | Connection ID (Unique Across All Internal Sessions) | 20000620 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SYSUBRC | Error Code | 20000620 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | STRING | Error Message | 20000620 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | STRING | Host Name of Server | 20000620 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | I | Last Response Status Code | 20000620 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | STRING | Object Name | 20000620 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | I | Support Package | 20000620 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | STRING | Host Name of Server | 20000620 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | STRING | Host Name of Server | 20000620 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | XSTRING | raw response data | 20000804 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | CHAR1 | Scheme (HTTP/HTTPS) | 20000620 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | STRING | Service Number of Server | 20000620 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | I | Status of Communication | 20000620 | |||
| 22 | Instance attribute | Private | Attribute reference (LIKE) | 20001117 | |||||
| 23 | Instance attribute | Private | Attribute reference (LIKE) | 20001117 | |||||
| 24 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '1' | HTTP Protocol | 20000620 | ||
| 25 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '2' | HTTP Protocol | 20000620 | ||
| 26 | Static Attribute | Private | Type reference (TYPE) | ISMTP_CLIENT_INSTANCES | Natural Number | 20010302 | |||
| 27 | Static Attribute | Public | Type reference (TYPE) | I | 3 | Close Status | 20000620 | ||
| 28 | Static Attribute | Public | Type reference (TYPE) | I | 1 | Send Status | 20000620 | ||
| 29 | Static Attribute | Public | Type reference (TYPE) | I | -1 | Initial Status | 20000620 | ||
| 30 | Static Attribute | Public | Type reference (TYPE) | I | 2 | Receive Status | 20000620 | ||
| 31 | Static Attribute | Public | Type reference (TYPE) | I | 4 | Error Status | 20000620 | ||
| 32 | Static Attribute | Private | Type reference (TYPE) | ICF_STAT | Statistics for Internet Communication Framework | 20000620 | |||
| 33 | Static Attribute | Private | Type reference (TYPE) | ICFSTAT | Statistics for Internet Communication Framework | 20000620 | |||
| 34 | Instance attribute | Private | Attribute reference (LIKE) | 20001117 |
Methods
Events
Class CL_SMTP_CLIENT has no event.
Types
Class CL_SMTP_CLIENT has no local type.
Method Signatures
Method AUTHENTICATION Signature
Method AUTHENTICATION on class CL_SMTP_CLIENT has no parameter.
Method AUTHENTICATION on class CL_SMTP_CLIENT has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SMTP_CLIENT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SMTP_CLIENT has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SMTP_CLIENT has no parameter.
Method CONSTRUCTOR on class CL_SMTP_CLIENT has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Object reference (TYPE REF TO) | IF_SMTP_CLIENT | HTTP Client Abstraction | 20000620 | |||
| 2 | HOST | Call by reference | Type reference (TYPE) | STRING | logische Destination (Wird bei Funktionsaufruf angegeben) | 20000620 | |||
| 3 | PROXY_HOST | Call by reference | Type reference (TYPE) | STRING | logische Destination (Wird bei Funktionsaufruf angegeben) | 20000620 | |||
| 4 | PROXY_SERVICE | Call by reference | Type reference (TYPE) | STRING | Portnummer | 20000620 | |||
| 5 | SERVICE | Call by reference | Type reference (TYPE) | STRING | Portnummer | 20000620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verbindungsparmaeter (host oder service) nicht verfügbar | 20000620 | ||
| 2 | Interner Fehler ( z. B. name zu groß) | 20000620 |
Method CREATE_BY_DESTINATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_CLIENT | HTTP Client Abstraction | 20000620 | |||
| 2 | DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | logische Destination (Wird bei Funktionsaufruf angegeben) | 20000620 | |||
| 3 | SCHEME | Call by reference | Type reference (TYPE) | CHAR1 | SCHEMETYPE_HTTP | HTTP/HTTPS | 20000620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verbindungsparmaeter (Destination) nicht verfügbar | 20000620 | ||
| 2 | Destination ist nicht fefunden | 20000620 | ||
| 3 | Keine Berechtigung zur Verwendung der HTTP-Destination | 20000620 | ||
| 4 | Interner Fehler ( z. B. name zu groß) | 20000620 |
Method GET_LAST_ERROR Signature
Method GET_LAST_ERROR on class CL_SMTP_CLIENT has no parameter.
Method GET_LAST_ERROR on class CL_SMTP_CLIENT has no exception.
Method IS_SMTP_AUTH_IMPLEMENTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_IMPLEMENTED | Value transfer | Type reference (TYPE) | ABAP_BOOL | ob die SMTP Auth implementiert ist | 20120730 |
Method IS_SMTP_AUTH_IMPLEMENTED on class CL_SMTP_CLIENT has no exception.
Method SEND Signature
Method SEND on class CL_SMTP_CLIENT has no parameter.
Method SEND on class CL_SMTP_CLIENT has no exception.
Method SEND_REQUEST Signature
Method SEND_REQUEST on class CL_SMTP_CLIENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kommunikationsfehler | 20000620 |
Method SET_REQUEST_ORIGINATOR Signature
Method SET_REQUEST_ORIGINATOR on class CL_SMTP_CLIENT has no parameter.
Method SET_REQUEST_ORIGINATOR on class CL_SMTP_CLIENT has no exception.
Method SET_RESPONSE_ORIGINATOR Signature
Method SET_RESPONSE_ORIGINATOR on class CL_SMTP_CLIENT has no parameter.
Method SET_RESPONSE_ORIGINATOR on class CL_SMTP_CLIENT has no exception.
Method STATISTIC_BEGIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TAG | Call by reference | Type reference (TYPE) | CHAR64 | Characterfeld der Länge 64 | 20000620 |
Method STATISTIC_BEGIN on class CL_SMTP_CLIENT has no exception.
Method STATISTIC_END Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TAG | Call by reference | Type reference (TYPE) | CHAR64 | Characterfeld der Länge 64 | 20000620 |
Method STATISTIC_END on class CL_SMTP_CLIENT has no exception.
Method STATISTIC_EXPORT Signature
Method STATISTIC_EXPORT on class CL_SMTP_CLIENT has no parameter.
Method STATISTIC_EXPORT on class CL_SMTP_CLIENT has no exception.
Method _APPEND_STRING_TO_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEST | Call by reference | Type reference (TYPE) | XSTRING | dest | 20000620 | |||
| 2 | SOURCE | Call by reference | Type reference (TYPE) | STRING | source | 20000620 |
Method _APPEND_STRING_TO_XSTRING on class CL_SMTP_CLIENT has no exception.
Method _APPEND_XSTRING_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEST | Call by reference | Type reference (TYPE) | STRING | dest | 20000620 | |||
| 2 | SOURCE | Call by reference | Type reference (TYPE) | XSTRING | source | 20000620 |
Method _APPEND_XSTRING_TO_STRING on class CL_SMTP_CLIENT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 50A |