MailInBoxCreate

function

Library: Email support, SMTP and POP3 (OMMAIL)
Include: ommail.xin

Returns: a MailInBox OMX component


Declaration
define external MailInBox function MailInBoxCreate
                server        value string server optional initial {"mail"}
                user          value string username
                password      value string password

Argument definitions

server
is the machine on which the POP3 server resides.
username
is the username for the POP3 server.
password
is the password for the POP3 server.


Purpose

This function creates and returns a MailInBox object with the given configuration information.

MailInBox is an OMX component that is used by most of the POP3 library functions.

Example:


  set MyBox to MailInBoxCreate
                        server        "mailserver.com"
                        user          "me"
                        password      mypwd