Hello
Actually I'm looking for a com addin which doesn't do anything
else except checking for a blank subject line. I was hoping to find
such a program in the internet but all those addins had "too many
features".
Actually I'm running a VB macro [1] but I came up with the
idea of a com addin because you can't really distribute the VB
macro in a network environment. Anyway, after reading trough
several MS, technet, msdn. outlookcode.com and other
pages, I'm still at the beginning. Only having VB5 as programming
tool also doesn't make it easier.
I really hope somebody can give me a good hint where to
start. I also wonder if no such addin is available yet?
Kind regards
/Ray
Foot notes
[1] VB Marcro to check blank subject line
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
'******************************************************************************
' Procedure : Application_ItemSend
' DateTime : 12.10.04 10:01
' Author : rg
' Purpose : disallows sending of e-mails w/o a subject line
'******************************************************************************
'
Dim opts As Integer
On Error GoTo Application_ItemSend_Error
opts = vbCritical Or vbOKOnly Or vbApplicationModal
If Trim(Item.Subject) = "" Then
MsgBox "Message has blank subject", opts, "No subject"
Cancel = True
End If
ExitHere:
On Error GoTo 0
Exit Sub
Application_ItemSend_Error:
MsgBox Err.Description, vbExclamation, "Error " & Err.Number _
& " (Application_ItemSend of DieseOutlookSitzung)"
Resume ExitHere
End Sub
Mark Beiley - 16 Dec 2004 15:40 GMT
Brad Smith's MsgDump2000 would be an excellent starting point for this sort
of add-in.
You can download the source code here:
http://www.bpsmicro.com/Files/MsgDump2000.htm
MsgDump2000 is written in C++.
Mark
http://www.email-announcer.com
> Hello
>
[quoted text clipped - 47 lines]
>
> End Sub
Raymond Geering - 17 Dec 2004 07:25 GMT
> Brad Smith's MsgDump2000 would be an excellent starting point for this
> sort of add-in.
> You can download the source code here:
> http://www.bpsmicro.com/Files/MsgDump2000.htm
> MsgDump2000 is written in C++.
I'm sure these are good samples but unfortunately I
only have VB 5.0 (and I can't program in C++)
Kind regards
/Ray