![]() |
|
||||||||
|
|||||||||
|
|
|
Alojado en: Recomienda esta pagina a un amigo Servicios Gratuitos
Articulos relacionados
Enlaces recomendados |
ASPEMAIL
|
| Property and Type | Comments |
| Host As String | Required. The internet address of a SMTP host to be used to send messages. |
| Port As Integer | The SMTP port number. 25 by default. |
| From As String | Required. The sender's email address. |
| FromName As String | The sender's name. |
| Subject As String | Message subject. |
| Body As String | Message body. Can be in a text or HTML format. In the latter case, the IsHTML property must be set to True. |
| IsHTML As Boolean | False by default. If set to True, AspEmail will set the Content-Type of the message body to text/html. |
| Priority As Integer | Message priority. Valid values are 1 (high), 3 (normal) and 5 (low). 0 by default which means priority is not specified. |
| Helo As String | "AspEmail" by default. This string is sent with the HELO command when an SMTP session begins. Used by an SMTP client to identify its domain name to the SMTP server. |
| Timestamp As Date | Used for deferred message processing. Specifies when the message is to be sent out by EmailAgent. This property is only used with the SendToQueue method and ignored by the Send method. For more information, see the EmailAgent manual at www.aspemail.com, section "Deferred Message Processing." |
| Timeout As Long | Specifies socket timeout (in millisecond) |
AspEmail Methods
Method Name Arguments Comments AddAddress Email As String
Optional Name = ""Adds an email address and optionally the corresponding full name to the letter's To: list. AddCC Email As String
Optional Name = ""Adds an email address and optionally the corresponding full name to the letter's Cc: list. AddBcc Email As String
Optional Name = ""Adds an email address and optionally the corresponding full name to the letter's Bcc: list. AddReplyTo Email As String
Optional Name = ""Adds an email address and optionally the corresponding full name to the letter's Reply-To: list. AddAttachment Path As String Adds a file to the list of file attachments to be sent with the message. AddCustomHeader Header As String Adds a custom header to the message, e.g. mail.AddCustomHeader "Return-Receipt-To: <name@domain.com>"
Send N/A Sends the message. Throws exceptions in case of an error. See the section Error Codes below for the list of error codes. Reset N/A Clears all address and attachment lists so that a new message can be sent. ResetAll N/A Same as Reset plus resets all properties to their respective default values. EncodeHeader Header as String Returns: String
Encodes a string containing non-US-ASCII characters according to RFC 1522. Use this method to encode a non-US-ASCII subject, sender's name or recipient's name, e.g. Mail.Subject = Mail.EncodeHeader("La fête à Jean-Sébastien Bach")
or
Mail.AddAddress "oystein@somecompany.no", Mail.EncodeHeader("Øystein")
|
¿Estas
empezando y este articulo es muy complejo para tí? Puedes obtener
un listado completo de todos los artículos y ejemplos de ASP en
http://www.asptutor.com/asp/todoslosarticulos.asp |
42 usuarios han valorado este
articulo.
Valoracion media:
|
AspTutor lo hacemos entre todos ¿Como vas a colaborar hoy?
|
Descargas
de manuales¦ Ejemplos
de código ¦ Artículos
mas visitados ¦ Envía
tu articulo ¦ Foros ¦ |
|
© 2001-Hasta hoy Pedro Rufo Martín contactar |