Name |
Type |
Description |
Attachment |
String |
Specifies one or
more files that should be attached to the e-mail message. If you
attach more than one file, the file paths must be separated with
a "|" character.
|
BCC |
String |
Specifies one or
more e-mail addresses that should receive a blind carbon copy of
the email message. If you use more than one e-mail address you
should separate the addresses with a comma (,).
|
Body |
String |
Specifies a plain
text message body. This property is only used if
DocumentType is set to 0.
|
BodyHTML |
String |
Specifies an HTML
message body. This property is only used if
DocumentType
is set to 1.
|
BytesSent |
Long |
Contains the number
of bytes sent. Before reading this property the
SendCompleted event must have been
fired.
. |
Charset |
String |
Specifies the
character set used in the message. The default value for this
property is "iso-8859-1". Here you find a
list of some available character sets.
|
CC |
String |
Specifies one or
more recipients that should receive a copy of the e-mail
message. If you use more than one e-mail address you should
separate the addresses with a comma (,).
|
DocumentFolder |
String |
Specifies the folder
where an HTML document is located. You only need to specify this
property if the document/message contains pictures or sound and
the paths might be relative. The relative paths will be
converted to correct absolute paths using this property as the
start folder.
. |
DocumentType |
Integer |
Specifies the type
of document to send. 0 = plain text ("text/plain") and 1 = HTML
("text/html").
|
FromMailAddr |
String |
Specifies the
sender's e-mail address.
|
FromName |
String |
Specifies the
sender's name.
|
IncludeObjectsInMail |
Boolean |
If you have included
pictures or sound in the HTML message and want them to be
embedded in the e-mail you must set this property to True.
Then the objects will be coded in the message using the Base64
method. This property is ignored if
DocumentType
is 0.
|
ListUnsubscribe |
String |
If you want to add
an unsubscribe field (List-Unsubscribe) to the e-mail
header you can specify it here. The property must contain a URL
or e-mail address. The string you specify must begin with a "<"
character and end with a ">" character. Examples:
"<http://www.mydomain.com/unsubscribe/unsubscribe.aspx?email=test@test.com>"
"<mailto:unsubscribe@mydomain.com?subject=UNSUBSCRIBE>"
More information about the List-Unsubscribe field
is available in this
RFC
document.
|
MailAddress |
String |
Specifies the e-mail
address to use when logging in to a SMTP server.
|
MailPort |
Long |
Specifies the port
number to use when connecting to the SMTP server. The default
value for this property is 25.
|
MailServer |
String |
Specifies the SMTP
server to use when sending e-mails.
|
Password |
String |
Specifies a
password, if needed, when connecting to an SMTP server.
|
ReplyMailAddr |
String |
Specifies a reply
e-mail address.
|
ReplyName |
String |
Specifies a reply
name.
|
Subject |
String |
Specifies the
subject to the e-mail message.
|
To |
String |
Specifies the e-mail
address of the recipient.
|
ToName |
String |
Specifies the name
of the recipient. This property can be empty if the name is
unknown.
|
TransferEncoding |
Integer |
Specifies a transfer
encoding method for the e-mail messages that will be sent. Can
be one of the following values:
0 - SevenBit ( Encode as 7-bit ASCII )
1 - QuotedPrintable ( Encode
as quoted-printable )
|
UseAuthentication |
Boolean |
Many SMTP servers
require authentication with username and password before an
e-mail can be sent via the server. If the server you are going
to use requires it you can set this property to True and
specify username and password via the
UserName and
Password properties.
. |
UseLog |
Boolean |
Enables/disables
using of a log file in the control. If this property has the
value
True a log file with the filename SLSMTPAX.LOG will be
created. This log file contains detailed information about the
SMTP communication between the client and the mail server. SMTP
commands sent from the client to the server and reply code and
reply messages from the server are stored in the log. More
information about the SMTP commands can be read
on this page.
In Windows XP and earlier the
log file is stored in the Windows folder. In Windows Vista,
Windows 7, Windows 8 and Windows 10
the log file is stored in the following folder:
\Users\<User>\AppData\Roaming\SamLogic\Log Files
|
UserName |
String |
Specifies a
username, if needed, when connecting to an SMTP server.
|
XMailer |
String |
Specifies a text for
the field "X-Mailer" in the e-mail message header. It can for
example be the name of your application or any other value.
|
|
|
|