前页 | 后页 |
邮件接口类
The MailInterface interface can be accessed from the Repository using GetMailInterface(). The returned interface provides access to the Enterprise Architect Model Mail Interface. Use this interface to automate the process of creating and sending messages using Enterprise Architect's Model Mail system.MailInterface Attributes
Attribute |
Remarks |
See also |
---|---|---|
MessagingEnabled |
Boolean Notes: Read Only Advises whether messaging is enabled on the current model. |
|
ObjectType |
ObjectType Notes: Read Only Distinguishes objects referenced through a dispatch interface. |
ObjectType |
MailInterface Methods
Method |
Remarks |
See also |
---|---|---|
ComposeMailMessage(string InitialRecipientGUID, string InitialSubject, messageflag InitialFlag, string InitialMessageText) |
Boolean Notes: Creates a new mail message using the values specified in the input parameters; the message is displayed in the composition window, ready for sending. This method does NOT send the message. Parameters:
|
|
GetAttributeHyperlink(string AttributeGUID, string LinkText) |
String Notes: Returns a string containing a hyperlink to the attribute specified by the input parameter AttributeGUID. Parameters:
|
|
GetDiagramHyperlink (string DiagramGUID, string LinkText) |
String Notes: Returns a string containing a hyperlink to the diagram specified by the input parameter DiagramGUID. Parameters:
|
|
GetElementHyperlink (string ElementGUID, string LinkText) |
String Notes: Returns a string containing a hyperlink to the element specified by the input parameter ElementGUID. Parameters:
|
|
GetFileHyperlink (string FilePath, string LinkText) |
String Notes: Returns a string containing a hyperlink to the file specified by the input parameter FilePath. Parameters:
|
|
GetLastError () |
String Notes: Returns the last error message set for the MailInterface. |
|
GetMethodHyperlink (string MethodGUID, string LinkText) |
String Notes: Returns a string containing a hyperlink to the method specified by the input parameter MethodGUID. Parameters:
|
|
GetPackageHyperlink (string PackageGUID, string LinkText) |
String Notes: Returns a string containing a hyperlink to the Package specified by the input parameter PackageGUID. Parameters:
|
|
GetRecipientGUID (string UserName) |
String Notes: Returns the GUID of the specified Enterprise Architect user. Parameters:
|
|
GetWebHyperlink (string URL, string LinkText) |
String Notes: Returns a string containing a hyperlink to the URL specified by the input parameter URL. Parameters:
|
|
SendMailMessage (string RecipientGUID, string Subject, messageflag Flag, string MessageText) |
Boolean Notes: Creates and sends a new mail message using the values specified in the input parameters. Parameters:
|