|
||||||||||
|
|
||||||||||
| Other Library Functions | ||||||||||
| function | MailOutBoxCreate |
Available in:
Professional Enterprise |
|
Library: ommail - email support (SMTP and POP3)
Include: ommail.xin |
Return type: MailOutBox Returns: A MailOutBox OMX component. |
define external MailOutBox function MailOutBoxCreate
name value stream sender-name
address value stream address
server value stream server optional initial {mail}
This function creates and returns a Mail outbox object with the given configuration information.
Mail outbox is an OMX component used by the outgoing mail functions in the Mail library.
Arguments:
Examples:
; create a mailbox using the default server, "mail"
process
local MailOutBox this-MailOutBox
set this-MailOutBox to
MailOutBoxCreate name "George" address "[email protected]"
; create a mailbox using a server other than "mail"
process
local MailOutBox this-MailOutBox
set this-MailOutBox to
MailOutBoxCreate name "Jim" address "[email protected]" server "specialMail"
| ---- |