More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{CGscriptClass_Template | {{CGscriptClass_Template | ||
|Name= | |Name=EmailAccount | ||
|Description= | |Description=Represents an email account. | ||
|Constructors= | |Constructors= | ||
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
{{CGscriptParameters_Template|Type= | {{CGscriptParameters_Template|Type=number|Name=type|Description=2: WebShop, 3: Support}} | ||
|Description= | |Description=Instanciate an existing email account}} | ||
{{CGscriptConstructors_Template|Parameters= | {{CGscriptConstructors_Template|Parameters= | ||
{{CGscriptParameters_Template|Type= | {{CGscriptParameters_Template|Type=number|Name=type|Description=0: Resource, 1: GlobalEmail, 2: WebShop, 3: Support|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=id|Description=Resource id or global email id. Unused for webshop and support types}} | ||
|Description= | |Description=Instanciate an existing email account}} | ||
|Methods= | |Methods= | ||
{{CGscriptMethods_Template|ReturnType=Empty|Name= | {{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Save the Email Account}} | ||
{{CGscriptMethods_Template|ReturnType=string|Name= | {{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}} | ||
|Properties= | |Properties= | ||
{{CGscriptProperties_Template|ReturnType=string|Name= | {{CGscriptProperties_Template|ReturnType=string|Name=ActualEmail|HasGetter=1|HasSetter=1|Description=Actual Email address}} | ||
{{CGscriptProperties_Template|ReturnType=string|Name= | {{CGscriptProperties_Template|ReturnType=string|Name=Address|HasGetter=1|HasSetter=1|Description=Email address}} | ||
{{CGscriptProperties_Template|ReturnType=string|Name= | {{CGscriptProperties_Template|ReturnType=string|Name=Alias|HasGetter=1|HasSetter=1|Description=Alias}} | ||
{{CGscriptProperties_Template|ReturnType=bool|Name= | {{CGscriptProperties_Template|ReturnType=bool|Name=Default|HasGetter=1|Description=Is this the default email account for the resource.}} | ||
{{CGscriptProperties_Template|ReturnType=bool|Name= | {{CGscriptProperties_Template|ReturnType=bool|Name=IsGEA|HasGetter=1|Description=Is the alias for a Global Email or not.}} | ||
{{CGscriptProperties_Template|ReturnType=string|Name= | {{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}} | ||
{{CGscriptProperties_Template|ReturnType= | {{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=Id of account}} | ||
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name= | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}} | ||
{{CGscriptProperties_Template|ReturnType=bool|Name= | {{CGscriptProperties_Template|ReturnType=bool|Name=UseActualEmail|HasGetter=1|HasSetter=1|Description=If true, the from email will be ActualMail. Otherwise, it will be Address.}} | ||
}} | }} |
Revision as of 07:13, 3 August 2016
EmailAccount
Represents an email account.
Constructors
- (number type "2: WebShop, 3: Support") - Instanciate an existing email account
- (number type "0: Resource, 1: GlobalEmail, 2: WebShop, 3: Support", number id "Resource id or global email id. Unused for webshop and support types") - Instanciate an existing email account
Methods
Properties
- string ActualEmail { get; set; } - Actual Email address
- string Address { get; set; } - Email address
- string Alias { get; set; } - Alias
- bool Default { get; } - Is this the default email account for the resource.
- bool IsGEA { get; } - Is the alias for a Global Email or not.
- string ObjectTypeName { get; } - The name of the type of object.
- number ResourceId { get; } - Id of account
- TypeInformation TypeInformation { get; } - Get information about this class.
- bool UseActualEmail { get; set; } - If true, the from email will be ActualMail. Otherwise, it will be Address.