About Flag for Follow Up feature in Microsoft Outlook

  • Thread starter Thread starter Peik Chean
  • Start date Start date
P

Peik Chean

Question 1 :

Can the smtp coding at my Visual Basic program able to support the Flag for
Follow Up feature in Microsoft Outlook ?



If can, please provide the sample coding ?





Question 2 :

Sample Code

Dim olApp As Outlook.Application
Set olApp = CreateObject("Outlook.Application")



Dim olNs As Outlook.NameSpace
Set olNs = olApp.GetNamespace("MAPI")





I wish to know why when i use the sample code above at my Visual Basic
program, but it select the different profile ?

Actual Profile is : PEN - ERS

But Profile select is : PEN - PR



Thanks & Regards,

Peik Chean
 
1) I sent a flagged message to my Gmail account, looked at the original and saw these two headers related to the flag:

Reply-By: Fri, 18 Apr 2008 08:00:00 -0400
X-Message-Flag: Follow up

I'll leave it to you to work out the details of adding headers to your SMTP routines, since that's beyond the scope of Outlook programming.

2) I don't understand what you mean by actual profile and profile select, but only one Outlook profile can be active at a time. If Outlook is already running with the PEN - PS profile, you cannot start another Outlook session that uses the PEN - ERS profile. To do that, you must use a low-level API such as CDO 1.21 or Redemption.
 
Back
Top