The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Automate Send & Receive in Outlook
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
tharpaPosted Nov 15, 2007, 2:38 PM
Visual Studio is not recognizing ofolder. Any suggestions?
ram mohanPosted Aug 24, 2007, 2:15 AM
Hi, Iam using the following code for the "subject alert" , it is working fine for that session only, whenever restarting outlook, iam losing the code..........., can u help me out in the issue like how can i save that code for the entire session in the out look...... Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim strSubject As String strSubject = Item.Subject If Len(strSubject) = 0 Then Prompt$ = "Subject is Empty. Are you sure you want to send the Mail?" If MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground, "Check for Subject") = vbNo Then Cancel = True End If End If End Sub Thanks & regards, R.Mohan.