Class MailAddressProvider
Utility functions associated with SuperOffice.CRM.Mail.MailAddress, but which depends on a database to be useful.
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.dll
Syntax
public static class MailAddressProvider : Object
Methods
GetAddress(Int32)
Gets the email-address associated with the Email-account owned by the specified associate.
Declaration
public static string GetAddress(int associateId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | associateId |
Returns
Type | Description |
---|---|
String | null if not found |
GetAddressForCurrentAssociate()
Gets the email-address associated with the Email-account owned by the current associate.
Declaration
public static string GetAddressForCurrentAssociate()
Returns
Type | Description |
---|---|
String | null if not found |
GetDefaultFromAddress()
Get mail address of currently logged in user
Declaration
public static MailAddress GetDefaultFromAddress()
Returns
Type | Description |
---|---|
MailAddress |