Bad Messages
Bad-Messages are messages that could not be sent by the Messaging Manager. This can happen if the SMTP server is not available for a certain amount of time, for example.
These messages are saved as XML files on the hard disk. Moreover, an e-mail is sent to a selected recipient, informing him of the fact that the message could not be sent correctly.
You can find the configuration data regarding the storage location of the Bad-Messages and the selected recipient as follows:
Under the installation of the Messaging Manager, you can find the file Isonet.MessagingManager.Service.
Approximately the following lines can be found there:
<MessagingManagerConfiguration
messageQueuePath=".\private$\
MessagingManager" badMessageFolder="D:\Isonet\
MessagingManager\BadMessages" delivererPluginFolder="D:\Isonet\
MessagingManager\Deliverers" enableSendBadMsg = "True"
badMsgMailFrom = "name@firma.com"
badMsgMailTo = "name2@firma.com"
badMsgSmtpServer = "smtp.firma.com"
badMsgSubject = "MessagingManager-BadMessage!"
maxNrOfErrors = "10"
backupPath = "BadMessagesBackup"/>
The key badMessageFolder contains the folder, in which the Bad-Messages are stored. The key badMsgMailTo contains the address of the recipient to be informed, when a message could not have been sent.
In the following table, you will find the description of the keys:
| Key | Description |
|---|---|
| messageQueuePath | Path to the message queue (system) |
| badMessageFolder | Path, in which the Bad-Messages are stored |
| delivererPluginFolder | Path to the folder containing the plug-ins for sending e-mails |
| enableSendBadMsg | Activates/deactivates the sending of Bad-Messages to a selected recipient (True/False) |
| badMsgMailFrom | Sender address for the Bad-Messages |
| badMsgMailTo | Selected recipient address for the Bad-Messages |
| badMsgSmtpServer | Name/IP address of the SMTP server |
| badMsgSubject | Subject line of a Bad-Message |
| maxNrOfErrors | Number of sending attempts before a Bad-Message is generated |
| backupPath | Path to the backups of Bad-Message files |