Show / Hide Table of Contents

Class MailAddressProvider

Utility functions associated with SuperOffice.CRM.Mail.MailAddress, but which depends on a database to be useful.

Inheritance
object
MailAddressProvider
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top