Author |
|
PeterWR Newbie
Joined: 16 November 2006 Location: Denmark
Online Status: Offline Posts: 2
|
Posted: 16 November 2006 at 10:08pm | IP Logged
|
|
|
Hi,
I have been using MessageQueue for some time now, and function very well.
I the setting is recommended not to remove failed email/sendings by default !
What to do then - there is no other option saying "clean failed message" as far as I can see.
Second, I (have asked before) miss a listing of the failed messages - at least to see the emails-header and recognize the email - it could be due to a bug it fails, but I cant traice/check this out.
Thanks and best regards
Peter
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 17 November 2006 at 9:52am | IP Logged
|
|
|
Quote:
I the setting is recommended not to remove failed email/sendings by default !
What to do then - there is no other option saying "clean failed message" as far as I can see. |
|
|
You can press "Retry Failed Messages" button and all failed messages will be resent (all *.mbu renamed to *.mbm and then resent).
Quote:
Second, I (have asked before) miss a listing of the failed messages - at least to see the emails-header and recognize the email - it could be due to a bug it fails, but I cant traice/check this out. |
|
|
You can iterate through queue folder, find all files with mbu extension (unsent) and display their headers as follows:
Code:
folderName = "C:\MMQ Files"
Set Msg = CreateObject("MailBee.Message")
Set fso = CreateObject("Scripting.FileSystemObject")
Set folder = fso.GetFolder(folderName)
Set files = folder.Files
For Each file in files
If Right(file.Name, 4) = ".mbu" Then
Msg.ImportFromFile folderName & "\" & file.Name
MsgBox "From: " & Msg.FromAddr & ", To: " & Msg.ToAddr
End If
Next
|
|
|
Best regards,
Andrew
|
Back to Top |
|
|