Moyosoft Products | Services | Download | Contact us    
Java Outlook Connector
Products  >  Java Outlook Connector  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Class OutlookAttachment

java.lang.Object
  └ com.moyosoft.connector.ms.outlook.attachment.OutlookAttachment


public class OutlookAttachment

Represents an attachment of an Outlook item.

To create a new attachment to an e-mail, use the method AttachmentsCollection.add(File). For example:
OutlookMail mail = ...;
mail.getAttachments().add(new File("test.txt"));

Constructors

public
OutlookAttachment (com.moyosoft.connector.com.Dispatch dispatch)

Methods

void
delete ()
void
dispose ()
String
getContentId ()
Returns the content identification header of a MIME message attachment. Embedded HTML images use this value to refer the attachment in the "img" tag.
...t.connector.com.Dispatch
getDispatch ()
String
getDisplayName ()
String
getFileName ()
int
getIndex ()
String
getPathName ()
int
getPosition ()
getPropertyAccessor ()
Returns the PropertyAccessor object for this item. The PropertyAccessor handles direct access to this item's properties. Only Outlook 2007 or later supports the PropertyAccessor. With older Outlook versions, this method returns null. This method is only available in the Professional edit ... more >
getType ()
void
saveAsFile (java.io.File file)
void
setDisplayName (String value)
void
setHidden (boolean hidden)
void
setPosition (int value)

Community comments



Powered by JavaDocPlus