Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Status MQ Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
PeterWR
Newbie
Newbie


Joined: 16 November 2006
Location: Denmark
Online Status: Offline
Posts: 2
Posted: 16 November 2006 at 10:08pm | IP Logged Quote PeterWR

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 View PeterWR's Profile Search for other posts by PeterWR
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 17 November 2006 at 9:52am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide