ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
coldfusion.service 

MailParam  - AS3 CF

Packagecoldfusion.service
Classpublic class MailParam
InheritanceMailParam Inheritance Object

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

A class that is remotely mapped to CFIDE.services.mailparam. The ColdFusion mail service requires the input in CFIDE.services.mailparam.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  contentId : String
The Identifier for the attached file.
MailParam
  disposition : String
How the file that is attached to the e-mail is to be handled.
MailParam
  file : String
Attaches a file in a message.
MailParam
  name : String
Name of header.
MailParam
  type : String
The MIME media type of the file.
MailParam
  value : String
Value of the header.
MailParam
Public Methods
 MethodDefined By
  
Creates an instance of the MailParam class.
MailParam
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

contentId

property
public var contentId:String

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

The Identifier for the attached file.

disposition

property 
public var disposition:String

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

How the file that is attached to the e-mail is to be handled. Can be one of the following:

  • attachment: Presents the file as an attachment.
  • inline: Displays the file contents in the message.

The default value is attachment.

file

property 
public var file:String

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

Attaches a file in a message. Mutually exclusive with name attribute. The file is MIME encoded before sending.

name

property 
public var name:String

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

Name of header. Case-insensitive. Mutually exclusive with file attribute.

type

property 
public var type:String

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

The MIME media type of the file. Not used with the name attribute. Can be a valid MIME media type or one of the following:

  • text: Specifies text/plain type.
  • plain: Specifies text/plain type.
  • html: Specifies text/html type.

value

property 
public var value:String

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

Value of the header. Not used with the file attribute.

Constructor Detail

MailParam

()Constructor
public function MailParam()

Language Version: ActionScript 3.0
Product Version: ColdFusion 9
Runtime Versions: Flash Player 9, AIR 1.0

Creates an instance of the MailParam class.