Options
From PDF XChange PDF SDK
Line 14: | Line 14: | ||
| class="op_param_name" id="Mode"| Mode | | class="op_param_name" id="Mode"| Mode | ||
| style="text-align:center" | Integer | | style="text-align:center" | Integer | ||
− | | Specifies | + | | Specifies a way how the email will be sent. |
Possible values are: | Possible values are: | ||
{| class="op_internal_table" | {| class="op_internal_table" | ||
Line 20: | Line 20: | ||
| class="op_enum_value" | '''-1''' (Auto) || User can choose sending mode manually. | | class="op_enum_value" | '''-1''' (Auto) || User can choose sending mode manually. | ||
|- | |- | ||
− | | class="op_enum_value" | '''0''' (MailClient) || ... | + | | class="op_enum_value" | '''0''' (MailClient) || Send email through installed by default in the operating system email client program. This program must support works with Messaging Application Programming Interface (Simple MAPI is enough), eg. Microsoft Outlook, Mozilla's Thunderbird, The Bat!, etc. |
|- | |- | ||
| class="op_enum_value" | '''1''' (SMTP) || Send email through external SMTP server (need to set '''SMTP''' parameters). | | class="op_enum_value" | '''1''' (SMTP) || Send email through external SMTP server (need to set '''SMTP''' parameters). |
Revision as of 01:23, 5 June 2015
Options Table
Name | Type | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Mode | Integer | Specifies a way how the email will be sent.
Possible values are:
Default value: -1 (Auto) | ||||||||
SMTP | Dictionary | Specifies parameters of SMTP server if Mode set to 1 (SMTP). | ||||||||
From | String | Specifies a sender email address.
Default value: Empty String | ||||||||
To | String | Specifies recipients email address.
Default value: Empty String | ||||||||
Cc | String | Specifies an email address for send copy of letter.
Default value: Empty String | ||||||||
BCc | String | Specifies an email address for send hidden copy of letter.
Default value: Empty String | ||||||||
Subject | String | Specifies a title of letter.
Default value: Empty String | ||||||||
Message | String | Specifies a text of letter.
Default value: Empty String | ||||||||
ResolveAddressBook | Boolean | Specifies...
Default value: false | ||||||||
ShowClientWindow | Boolean | Specifies...
Default value: true | ||||||||
Priority | Integer | Specifies a priority mark for letter (see below). Priority letters can be accented in a recipient mailbox.
Possible values are:
Default value: 1 (Normal) | ||||||||
PackAttachmentsMode | Integer | Specifies a method for compressing attachment files (if it exists). We use only ZIP algorithm.
Possible values are:
Default value: 0 (NoComress) | ||||||||
HideOptionsBtnOnErrorMsg | Boolean | Specifies...
Default value: true | ||||||||
OpenLocalFolder | Boolean | If Mode set to 2 (Local) and this property is true, after saving email will be open folder which contain it.
Default value: true | ||||||||
LocalFolder | String | Specifies a folder name which used for saving email if Mode set to 2 (Local) . If Mode set to 2 and this property is empty, used user's document folder or "C:\\Documents" as a local folder.
Default value: Empty String | ||||||||
OnePackName | String | Specifies a name which used for naming an attached archive file, if in PackAttachmentsMode parameter set to 2 (CompressAllToOne).
Default value: Empty String | ||||||||
ParentWnd | Integer64 | Specifies...
Default value: 0 |
SMTP Table
Name | Type | Value |
---|---|---|
ServerURL | String | Specifies a SMTP server address.
Default value: Empty String |
ServerPort | Integer | Specifies a SMTP server port.
Default value: 25 |
NeedAuth | Boolean | Specifies whether a SMTP need authentication.
Default value: false |
User | String | Specifies a username for SMTP if it need authentication.
Default value: Empty String |
Password | String | Specifies a user password for SMTP if it need authentication.
Default value: Empty String |
NeedTLS | Boolean | Set truefor using TLS protocol for doing your connection to SMTP server safe. If UseSSL property is truethen this property is ignored.
Default value: false |
UseSSL | Boolean | Set true for using SSL protocol for doing your connection to SMTP server safe. If it true then NeedTLS property is ignored.
Default value: false |