clsOWA

clsOWA


WebDav code to comunicate with MS Exchange server


Version: 1.0
Author: Carlos B
Modified: 26/11/2005

Public:

Constants:

NameDescription
 TWO_NEWLINES 

Properties:

NameDescription
 intMsgCount Number of messages in inbox folder 
 lngSize Size of messages in inbox folder 
 objDOMInbox Dom object with inbox messages 

Methods:

NameDescription
 Delete Delete a message  
 GetFoldersURL Get Well-Known Mailbox Folder URLs that are retrieved from a users root mailbox folder. Urls are stored in config object  
 GetMsg Retrieve message in RFC 821 format and send it to the client.  
 GetMsgList Get the list of messages in the inbox folder.  
 ParseAtachment Parse the mail attachments to fix image files mark as application/octet-stream.  
 ParseHeader Parse the mail header to fix incorrect email address with non US chars. For example:
=?iso-8859-1?Q? Martin_Sacrist=E1n=2C_C=2E ?= Should be:
=?iso-8859-1?Q?=22Martin_Sacrist=E1n=2C_C=2E=22?= Quotes are missing and some email clients fails parsing it.  
 SendMail Send one email in standard rfc821 format.  
 URLEncode Encode one string to send it as url parameter.  

Private:

clsOWA

NameDescription
 Class_Initialize 
 Class_Terminate 

Properties:

NameDescription
 oXMLHTTP 
 vTypes Array for image types 

Methods:

NameDescription
 LogingFBA Access the Exchange store via WebDAV with Form-Based-Authentication turned on.  

Requirements

1.0