The Exception Log tab enables you to configure DWebPro to send an email message in case of errors.
The Exception Log tab
The field specific to the Exception Log section is shown below:
[ExceptionLog] ; ExceptionLog settings Start=1 ; Email settings Email.Address=support@dwebpro.com Email.Subject=DWebPro log report Email.Message=This is an automatic message sent from DWebPro and contains all the logs of the generated error.<EOL><EOL>Sincerely,<EOL>DWebPro Bugtracking System Email.Options=1 ; Send Options settings SMTP.From=support@dwebpro.com SMTP.Host= SMTP.Port=25 SMTP.UserID= SMTP.Password= SMTP.ShowDialog=1 ; File Options settings FileOptions.AppendLogs=1 FileOptions.AttachScreenshot=1 FileOptions.SendEntireLog=1 ; Save settings Save.LogFile=0 Save.ErrorsCount=32 Save.OutputPath=##TEMP##\dwebpro.log LogOptions.NoDuplicates=0 LogOptions.ReproduceText=0 ; Terminate Button settings Terminate.ShowButton=1 Terminate.Count=3 Terminate.Operation=0 ; Freeze Options settings Freeze.Activate=1 Freeze.Timeout=60 Freeze.Message=The applications seems to be frozen.
ExceptionLog settings
Start Exception Log Handler
Start
Start
Exception Log Handler specifies whether the exception
handler will be started.
Accepted values: 0, 1
Email settings
Email Address
Email.Address
Email
Address specifies the destination address of the email
message to be sent.
Accepted values: string
Email Subject
Email.Subject
Email
Subject specifies the subject of the email message to be
sent.
Accepted values: string
Email Message
Email.Message
Email
Message specifies the header of the email message to be
sent. This field must be written in a single row. To insert
carriage returns, use the <EOL> string.
Accepted values: string
Email
Email.Options
Send
Options specifies the type of email message to be sent.
Valid options are:
-
No Send (0)
-
Use Email Client (1)
-
Use SMTP Client (2)
-
Use SMTP Server (3)
Accepted values: 0, 1, 2, 3
Send Options settings
Send Options – From
SMTP.From
Send Options
– From specifies the sender email address will be used in
the email message.
Accepted values: string
Send Options – Host
SMTP.Host
Send Options
– Host specifies the SMTP server to connect to, if the
Send Options selection is set to
Use SMTP Client (2).
Accepted values: string
Send Options – Port
SMTP.Port
Send Options
– Port specifies the port of the SMTP server to connect to,
if the Send Options selection is set
to Use SMTP Client (2).
Accepted values: integer
Send Options – User ID
SMTP.UserID
Send Options
– User ID specifies the username to use for authentication
on the SMTP server, if the Send
Options selection is set to Use SMTP Client
(2).
Accepted values: string
Send Options – Password
SMTP.Password
Send Options
– Password specifies the password to use for authentication
on the SMTP server, if the Send
Options selection is set to Use SMTP Client
(2).
Accepted values: string
Send Options – Show the SMTP Send
Dialog
SMTP.ShowDialog
Send Options
– Show the SMTP Send Dialog specifies whether DWebPro
displays the notification window when sending the message via
SMTP.
Accepted values: 0, 1
File Options settings
File Options – Append Logs into the
Message
FileOptions.AppendLogs
File Options
– Append Logs into the Message specifies whether the
exception log will be included in the email message.
Accepted values: 0, 1
File Options – Attach a Screenshot
FileOptions.AttachScreenshot
File Options
– Attach a Screenshot specifies whether an application
screenshot will be included in the email message.
Accepted values: 0, 1
File Options – Send the Entire Log
File
FileOptions.SendEntireLog
File Options
– Send the Entire Log File specifies whether a complete,
detailed copy of the log will be included in the email
message.
Accepted values: 0, 1
Save settings
Save – Save Log File
Save.LogFile
Save – Save
Log File specifies whether errors are to be saved in an
error report file.
Accepted values: 0, 1
Save – Number of Errors to Save
Save.ErrorsCount
Save – Number
of Errors to Save specifies the number of errors to save
when using the Save Log File
option.
Accepted values: integer
Save – Output Path
Save.OutputPath
Save – Output
Path specifies the path for saving the log files, when using
the Save Log File option. Refer to
the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Save – Do Not Save/Send the Duplicate
Errors
Save.NoDuplicates
Save – Do Not
Save/Send the Duplicate Errors specifies whether duplicate
errors are to be saved or sent.
Accepted values: 0, 1
Save – Append the "Reproduce Text"
Save.ReproduceText
Save – Append
the "Reproduce Text" specifies whether a user-provided error
description is to be sent. This description could be necessary for
reproducing the error.
Accepted values: 0, 1
Terminate Button settings
Terminate Button – Show
Terminate.ShowButton
Terminate
Button – Show specifies whether a Terminate button displays when an error
occurs.
Accepted values: 0, 1
Terminate Button – After How Many
Exceptions
Terminate.Count
Terminate
Button – After How Many Exceptions specifies the number of
exceptions that must occur before displaying the Terminate button.
Accepted values: integer
Terminate Button – Operation
Terminate.Operation
Terminate
Button – Operation specifies what action to take when
pressing the Terminate button. Valid
options are:
-
Terminate the application (0)
-
Restart the application (1)
Accepted values: 0, 1
Freeze Options settings
Freeze Options – Activate
Freeze.Activate
Freeze
Options – Activate specifies whether the anti-freeze system
should be enabled.
Accepted values: 0, 1
Freeze Options – Timeout (sec)
Freeze.Timeout
Freeze
Options – Timeout (sec) specifies the anti-freeze system's
timeout, in seconds.
Accepted values: integer
Freeze Options – Message
Freeze.Message
Freeze
Options – Message specifies the message to display when an
application stalls ("freezes").
Accepted values: string


