Class MailAddressProvider
Utility functions associated with SuperOffice.CRM.Mail.MailAddress, but which depends on a database to be useful.
Inherited Members
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public static class MailAddressProvider
Methods
GetAddress(int)
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 |
|---|---|---|
| int | 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 |