![]() |
|||
|
![]() |
![]() |
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
![]() Term: UTL_SMTP
Definition: TYPE connection IS RECORD ( The list of UTL_SMTP functions is compiled below as per the Oracle documentation: 1) CLOSE_DATA Function and Procedure - Closes the data session Example Syntax: UTL_SMTP.CLOSE_DATA ( c IN OUT NOCOPY connection) RETURN reply; 2) COMMAND Function and Procedure - Performs a generic SMTP command Example Syntax: UTL_SMTP.COMMAND ( c IN OUT NOCOPY connection, 3) COMMAND_REPLIES Function - Performs initial handshaking with SMTP server after connecting Example Syntax: UTL_SMTP.COMMAND_REPLIES ( c IN OUT NOCOPY connection, 4) DATA Function and Procedure - Performs initial handshaking with SMTP server after connecting, with extended information returned Example Syntax: UTL_SMTP.DATA ( c IN OUT NOCOPY connection, body IN VARCHAR2 5) EHLO Function and Procedure - Performs initial handshaking with SMTP server after connecting, with extended information returned Example Syntax: UTL_SMTP.EHLO ( c IN OUT NOCOPY connection, domain IN) RETURN replies; 6) HELO Function and Procedure - Performs initial handshaking with SMTP server after connecting Example Syntax: UTL_SMTP.HELO ( c IN OUT NOCOPY connection, domain IN VARCHAR2) RETURN reply; 7) HELP Function - Sends HELP command Example Syntax: UTL_SMTP.HELP ( c IN OUT NOCOPY connection, 8) MAIL Function and Procedure - Initiates a mail transaction with the server, the destination is a mailbox Example Syntax: UTL_SMTP.MAIL ( c IN OUT NOCOPY connection, 9) NOOP Function and Procedure - The null command Example Syntax: UTL_SMTP.NOOP ( c IN OUT NOCOPY connection) RETURN reply; 10) OPEN_CONNECTION Functions - Opens a connection to an SMTP server Example Syntax: UTL_SMTP.OPEN_CONNECTION ( host IN VARCHAR2, 11) OPEN_DATA Function and Procedure - Sends the DATA command Example Syntax: UTL_SMTP.OPEN_DATA ( c IN OUT NOCOPY connection) RETURN reply; 12) QUIT Function and Procedure - Terminates an SMTP session and disconnects from the server Example Syntax: UTL_SMTP.QUIT ( c IN OUT NOCOPY connection) RETURN reply; 13) RCPT Function - Specifies the recipient of an e-mail message Example Syntax: UTL_SMTP.RCPT ( c IN OUT NOCOPY connection, 14) RSET Function and Procedure - Terminates the current mail transaction Example Syntax: UTL_SMTP.RSET ( c IN OUT NOCOPY connection) RETURN reply; 15) VRFY Function - Verifies the validity of a destination e-mail address Example Syntax: UTL_SMTP.VRFY ( c IN OUT NOCOPY connection 16) WRITE_DATA Procedure - Writes a portion of the e-mail message Example Syntax: UTL_SMTP.WRITE_DATA ( c IN OUT NOCOPY connection, data 17) WRITE_RAW_DATA Procedure - Writes a portion of the e-mail message with RAW data Example Syntax: UTL_SMTP.WRITE_RAW_DATA ( c IN OUT NOCOPY connection, data IN RAW); Related Links: |
![]() |
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2025 psoug.org |