Package | coldfusion.service.mxml |
Classe | public class Mail |
Héritage | Mail BasicService InternalConfig Object |
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Propriété | Défini par | ||
---|---|---|---|
action : String
Action string for the service. | BasicService | ||
attachments : Array
A list of attachment filenames. | |||
bcc : String
Addresses to which to copy the message, without listing them in the message header. | |||
cc : String
Addresses to which to copy the message. | |||
cfContextRoot : String
Context root of the ColdFusion server. | InternalConfig | ||
cfPort : int
Port where the ColdFusion server is running. | InternalConfig | ||
cfServer : String
Name or IP address of the ColdFusion server. | InternalConfig | ||
charset : String
Character encoding of the mail message, including the headers. | |||
constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | Object | ||
content : String | |||
destination : String
Specifies the destination for the remoting call. | InternalConfig | ||
failTo : String
Address to which mailing systems should send delivery failure notifications. | |||
from : String
E-mail address of the sender:
A static string; for example, "support@example.com"
A variable; for example, "#GetUser.EMailAddress#"
| |||
mailerId : String
Mailer ID to be passed in X-Mailer SMTP header,
which identifies the mailer application. | |||
mailParts : Array
Specifies one part of a multipart e-mail message. | |||
mimeAttach : String
Path of the on-disk or in-memory file to attach to message. | |||
password : String
A password to send to SMTP servers that require authentication. | |||
port : String
TCP/IP port on which SMTP server listens for requests (normally 25). | |||
priority : String
The message priority level. | |||
replyTo : String
Addresses to which the recipient is directed to send replies. | |||
secureHttp : Boolean
Boolean value that specifies if secure HTTP is used:
yes: uses secure HTTP
no: does not use secure HTTP
| InternalConfig | ||
server : String
SMTP server address, or (Enterprise edition only) a comma-delimited list
of server addresses, to use for sending messages. | |||
servicePassword : String
Password to access ColdFusion services. | InternalConfig | ||
serviceUserName : String
Username to access ColdFusion services. | InternalConfig | ||
subject : String
Message subject. | |||
timeout : String
Number of seconds to wait before timing out connection to SMTP server. | |||
to : String
E-mail address of the recipient:
Static address, for example, "support@example.com"
Variable that contains an address, for example, "#Form.Email#"
Name of a query column that contains an address,
for example, "#EMail#". | |||
type : String
MIME type of the message. | |||
userName : String
A user name to send to SMTP servers that require authentication. | |||
useSSL : Boolean
Whether to use Secure Sockets Layer. | |||
useTLS : Boolean
Whether to use Transport Level Security. | |||
wrapText : String
The maximum line length, in characters of the mail text. |
Méthode | Défini par | ||
---|---|---|---|
Mail()
Creates an instance of the Mail class. | |||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | BasicService | ||
Dispatches an event into the event flow. | BasicService | ||
Sends the information to the ColdFusion service based on the action and attributes that
the user sets. | |||
Returns the RemoteObject instance used by the proxy classes to make the
remote object call. | BasicService | ||
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. | BasicService | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Removes a listener from the EventDispatcher object. | BasicService | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | ||
Renvoie la valeur primitive de l’objet spécifié. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its
ancestors for the specified event type. | BasicService |
attachments | propriété |
public var attachments:Array
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
A list of attachment filenames.
bcc | propriété |
public var bcc:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Addresses to which to copy the message, without listing them in the message header. To specify multiple addresses, separate the addresses with commas.
cc | propriété |
public var cc:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Addresses to which to copy the message. To specify multiple addresses, separate the address with commas.
charset | propriété |
public var charset:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Character encoding of the mail message, including the headers. The following list includes commonly used values:
utf-8
iso-8859-1
windows-1252
us-ascii
shift_jis
iso-2022-jp
euc-jp
euc-kr
big5
hz-gb-2312
euc-cn
utf-16
La valeur par défaut est utf-8.
content | propriété |
public var content:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
failTo | propriété |
public var failTo:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Address to which mailing systems should send delivery failure notifications. Sets the mail envelope reverse-path value.
from | propriété |
public var from:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
E-mail address of the sender:
- A static string; for example,
"support@example.com"
- A variable; for example,
"#GetUser.EMailAddress#"
mailerId | propriété |
public var mailerId:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Mailer ID to be passed in X-Mailer SMTP header, which identifies the mailer application.
mailParts | propriété |
public var mailParts:Array
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Specifies one part of a multipart e-mail message.
Can only be used in the cfmail
tag.
mimeAttach | propriété |
public var mimeAttach:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Path of the on-disk or in-memory file to attach to message.
password | propriété |
public var password:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
A password to send to SMTP servers that require authentication.
port | propriété |
public var port:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
TCP/IP port on which SMTP server listens for requests (normally 25).
priority | propriété |
public var priority:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
The message priority level. Can be one of the following values:
- An integer in the range 1-5; 1 represents the highest priority.
- One of the following string values, which correspond to the numeric
values:
highest
orurgent
,high
,normal
,low
, andlowest
ornon-urgent
.
replyTo | propriété |
public var replyTo:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Addresses to which the recipient is directed to send replies.
server | propriété |
public var server:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
SMTP server address, or (Enterprise edition only) a comma-delimited list of server addresses, to use for sending messages.
subject | propriété |
public var subject:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Message subject. Can be dynamically generated.
For example, to send messages that give customers status updates:
"StatusofOrderNumber#Order_ID#"
.
timeout | propriété |
public var timeout:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Number of seconds to wait before timing out connection to SMTP server.
to | propriété |
public var to:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
E-mail address of the recipient:
- Static address, for example,
"support@example.com"
- Variable that contains an address, for example,
"#Form.Email#"
- Name of a query column that contains an address,
for example,
"#EMail#"
. An e-mail message is sent for each returned row.
type | propriété |
public var type:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
MIME type of the message. 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.
userName | propriété |
public var userName:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
A user name to send to SMTP servers that require authentication.
useSSL | propriété |
public var useSSL:Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Whether to use Secure Sockets Layer.
useTLS | propriété |
public var useTLS:Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Whether to use Transport Level Security.
wrapText | propriété |
public var wrapText:String
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
The maximum line length, in characters of the mail text.
() | Constructeur |
public function Mail()
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.5 |
Creates an instance of the Mail
class.
execute | () | méthode |
public function execute():void
Version du langage: | ActionScript 3.0 |
Version du produit: | ColdFusion 9 |
Versions du moteur d’exécution: | Flash Player 9, AIR 1.0 |
Sends the information to the ColdFusion service based on the action and attributes that the user sets.
Tue Jun 12 2018, 09:30 AM Z