Automate Send & Receive in Outlook
In this article we will take the privilege of outlook and make it to send & receive the mail automatically using VB.Net.
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

tharpaPosted Nov 15, 2007, 9:38 AM EST
Visual Studio is not recognizing ofolder. Any suggestions?
ram mohanPosted Aug 23, 2007, 10:15 PM EDT
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.