Hey, not too sure this is the right Message Board for this...but here goes: I want a macro to automatically open an email as HTML format rather than rich text. I have my send emails defaulted to HTML, yet when I run this macro it comes up as rich text. Any help would be appreciated. Dim objAppl As Outlook.Application Dim objNS As Outlook.NameSpace Dim objContact As Outlook.ContactItem Dim objNewmail As MailItem Dim objDrafts As MAPIFolder Dim objVorlage As MailItem On Error Resume Next Set objAppl = CreateObject("Outlook.Application") Set objNS = objAppl.GetNamespace("MAPI") Set objDrafts = objNS.GetDefaultFolder(olFolderDrafts) 'Checking all contacts in standard conta ' cts folder For Each objContact In objNS.GetDefaultFolder(olFolderContacts).Items.Restrict("[MessageClass] = 'IPM.Contact'") 'checking birthday of each contact If (Day(objContact.Birthday) = Day(Date)) And (Month(objContact.Birthday) = Month(Date)) Then 'creating new mail Set objNewmail = Application.CreateItem(olMailItem) With objNewmail..... My new mail comes out rich text always, is there coded way so that it opens as html?
KirkNarine
Posts
-
Create automatic HTML email message in Outlook 2000 -
Compare and mergeI'm not sure I'm in the right forum, if it's possible in C++ or if there's a program that does this. I'm trying to automatically compare and merge two .rtf documents and save it in a folder. The documents are the same name in different folders. I would like to know if there's a function call to use the attribute in word. Thanks for any comments or criticisms. Thanks
-
File infoIs there a way I can search a directory and read a file name and date created in C++??
-
Real time directory listingThanks, you've been a huge help. This is just what I needed
-
Real time directory listingAny suggestion on listing a directory in C++. I've heard of boost libraries, any comments on it?
-
Real time directory listingWhat is the best way to list a directory in C++. I've heard of using boost libraries. Any suggestions or comments?
-
Real time directory listingI need to know how you will list the files in a directory as the files are added in C++
-
Real time directory listingI'm trying to generate a directory listing of all the files in a specific directory as files are sent to it. Files are sent to this directory on a regular basis and each file needs to be listed with it's date created attribute. I can't just check by name to see if the file already exist in the list because I'm also checking for duplicates. Can anyone help me at least with how a real-time search coding in C++ will look like? Thanks