swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

MailInBoxCreate

 
 

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

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

        Other Library Functions
   MailInBox
   MailInBoxClose
   MailInBoxCreate
   MailInBoxGetMessage
   MailInBoxGetMessageSize
   MailInBoxGetNumberOfMessages
   MailInBoxGetStatusReport
   MailInBoxIsInError
   MailInBoxIsOpen
   MailInBoxMarkAllMessagesForDeletion
   MailInBoxMarkMessageForDeletion
   MailInBoxOpen
   MailInBoxResetDeletionFlags
   MailIsVersionCompatible
   MailLibraryVersion
   MailOutBox
   MailOutBoxCreate
   MailOutBoxGetStatusReport
   MailOutBoxIsInError
   MailOutBoxSendMail
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.