ThreadLast AuthorMessages
read/total
Date
mailitem.move displays current time as receive time
Roy van Manen
0 / 2 25 Sep 2007
It's moving from mailboxes to public folders that have the problem "Roy van Manen" wrote: > After moving (archiving) emails from inbox and sent items, the displayed > receivedate on the mails is reset to time of moving. > > Seen a lot of questions about this, but nowhere an answer. If I can drag and > drop and retain all porperties, how do I do that programmatically?...
How to forward deleted mails and mails which are not replied for 2 days
Mathinirai Selvan
0 / 1 25 Sep 2007
Hi, kindly help me to face this problem. 01.all the deleted mails should go to one particular folder in the server or to another mail id 02.If i didnt reply to the incoming mail for 2 days,then that mail should go the particular folder in server or another mail id thanks in advance.. Warm regards, Selvan....
Find and replace text in body of 300 emails ...
Michael Bauer [MVP - ...
0 / 2 24 Sep 2007
Here's a sample for how to get any folder by its path: www.outlookcode.com/d/code/getfolder.htm Loop through the folder's Items collection and use the InStr function to search the word in every item's Body property. The function returns the word's start position if it's found. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www....
Changing accounts automaticlly...
Dmitry Streblechenko
0 / 2 21 Sep 2007
See the MailItem.SendUsingAccount property Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "2007-User" <no-email@noemail.com> wrote in message news:OjW9V$6%23HHA.5160@TK2MSFTNGP05.phx.gbl... >I am using office outlook 2007, I have many unsent emails in a specific >folder (let say UNSENT folder), I would like to change the...
Access 2000 / Outlook 2007
Tim Freeman
0 / 6 19 Sep 2007
"Sue Mosher [MVP-Outlook]" wrote: > Outlook should be able to resolve IsEmailAddress to a recipient if it is a straight SMTP address, but if you're passing a name that has to be resolved, a login is necessary. Otherwise, Outlook may not know what address lists are available for name resolution. You can add an objOlns.Login statement to either use a specific profile or prompt the user to...
Programmatically determine wheher I have received a meeting re
Mike
0 / 2 19 Sep 2007
Hi Michael, thanks for the quick reponse. I found that rule and applied it. However I am not getting it working properly. Which selection do I have to use in order to select the meeting request for a specific person. I tried message header, receipient, to name, not to name. Any idea ? Thanks and best regards, Michael "Michael Bauer [MVP - Outlook]" wrote: > > > There's a...
send email from reminder
Ken Slovak - [MVP - O...
0 / 9 18 Sep 2007
Do you have macro security set to medium or high? For high you need to sign your code, for medium you would get prompted each time Outlook starts up. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "NewToVB" <NewToVB@discussions....
Code for Changing Text Size?
Ken Slovak - [MVP - O...
0 / 1 18 Sep 2007
If you're using WordMail you can get the Inspector.WordEditor object, which is a Word.Document object. You can then get the Range for the entire document and set the font attributes such as size that way. For HTML emails you can get the HTMLEditor object (not available in Outlook 2007 where you always use WordEditor) and get the Document from that. Then you'd use HTML calls to set the...
How to quit running outlook application from service without using automation
Hannes
0 / 4 18 Sep 2007
On Sep 5, 3:11 pm, "Ken Slovak - [MVP - Outlook]" <kenslo...@mvps.org> wrote: > It can't be missing in that context or we'd never see people trying to use > it there, which they do all the time. Something else is going on. At any > rate an alternative would be to drop into Win32 API coding and find the > Outlook window and send it a message to close down. You can find the Outlook > main...
Changing location of outlook signature
Sue Mosher [MVP-Outlook]
0 / 2 17 Sep 2007
No, that's not possible. You could, however, use a login script to copy signature files from a server folder to the local user's folder. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Damien" <Dwr@community.nospam> wrote in message...
Outllok 2000 automation files
Ken Slovak - [MVP - O...
0 / 4 17 Sep 2007
It's not available separately, it's not legal to distribute or redistribute it. If you want a legal copy you need to buy a copy of Office 2000 or at least Outlook 2000. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Samuel"...
Getting The Properties Of MSG Files
Dmitry Streblechenko
0 / 2 13 Sep 2007
Also keep in mind that messages inside the PST stores are *not* stored as standalone MSG files. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Michael Bauer [MVP - Outlook]" <mb@mvps.org> wrote in message news:79chdficbr11$.1duxdnkilsuq1$.dlg@40tude.net... > > > Read the corresponding object's Size property, e.g. MailItem....
VBA:code does not find all mails from inbox.
Mario
0 / 4 13 Sep 2007
Hello Sue Great help . Works like a charm. We're so lucky having people around with such skills and knowlegde. Thanks a lot Mario "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:ez%23msNV9HHA.4784@TK2MSFTNGP05.phx.gbl... Never call Move or Delete inside a For Each loop. Use a countdown loop instead: count = Inbox.Items.Count For i = Count to 1...
Outlook Redemption:access body triggers security message
Mario
0 / 3 12 Sep 2007
Sue , I made a mistake in the code. It's as you said , it should just be : objSMail.body. I assigned this to a strMSG variable to use it to write it to a textfile. Works great (Outlook 2002) Now i can retreive data without having the security prompt. Thanks for the reply Mario "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:O4KtqWH9HHA....
accessing emails copyied to folders not in a Outlook folder
Dmitry Streblechenko
0 / 3 10 Sep 2007
What do you mean by "I can open the .msg files when the are in an Outlook folder"? MSG file is an MSG file is an MSG file. Do you mean Outlook *messages* (which are not stored as MSG files by the underlying store provider) in an Outlook folder (such as the Inbox)? If you mean real files with an MSG extension on teh file system accessible visible in the Windows Explorer, see my previous...
in Access link to Exchange()
David
0 / 1 09 Sep 2007
Hello all, I am using Access 2003 and Outlook 2003 on WIN XP machines. My goal is to link to an exchange Group email inbox from Access to append new emails to the access table. The access database front end database is used by many. The technique I use is good, I use theTony Toes Front End updater that basically copies the front end mdb to the users c drive and then launches the...
AdvancedSearch filter
Ken Slovak - [MVP - O...
0 / 2 06 Sep 2007
You can't specify a time zone or offset and you shouldn't use an exact time. Due to rounding errors you're always best filtering on a range of about plus or minus one minute. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm...
Use redemption to get SMTP of sender
Co
0 / 28 03 Sep 2007
On 31 aug, 23:34, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote: > The line > Set objmsg = CreateObject("Redemption.RDOMail") > will fail - RDOMail object is not creatable, it can only be retrieved from > some other RDO object (the same is true in the Outlook Object model) > > Try the following: > > Private Function SMTP_GetSenderAddress() > Dim objsession As Redemption.RDOSession...
How do I attach a signature (html) with pictures?
Michael Bauer [MVP - ...
0 / 2 03 Sep 2007
see *.outlook.program_vba -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6> Am Fri, 31 Aug 2007 17:38:58 -0700 schrieb Bruce: > I am trying to write a macro that with send out an email. (This is being > launched from excel) > When I run the macro, it puts the signature,...
Createing a html message from a worksheet
Michael Bauer [MVP - ...
0 / 2 03 Sep 2007
The Excel.Column object has a AutoFit method. Maybe that helps? As your question is Excel and HTML related, this is not the best newsgroup for getting help. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6> Am Fri, 31 Aug 2007 17:48:41 -0700 schrieb Bruce: > I am trying...
Running rules in folders by choosing follers in macro
Michael Bauer [MVP - ...
0 / 2 03 Sep 2007
see *.outlook.program_vba -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6> Am Fri, 31 Aug 2007 17:55:45 -0700 schrieb Bruce: > I have used Sue Moshers code for running all rules in inbox. > > I would like to know how I can modify it so that I can choose which folder...
Outlook - Redemption. How to do an error handling?
gurzuf@rogers.com
0 / 3 31 Aug 2007
On Aug 30, 1:18 pm, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote: > Call Recipient.Resolve or Recipients.ResolveAll - both methods return > boolean (true is name resolution was successful). > > Dmitry Streblechenko (MVP)http://www.dimastr.com/ > OutlookSpy - Outlook, CDO > and MAPI Developer Tool > > <gur...@rogers.com> wrote in message > > news:1188489860.121242....
Outlook Redemption: Nothing displayed in the "From" field when saving email
gurzuf@rogers.com
0 / 3 31 Aug 2007
On Aug 30, 1:22 pm, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote: > Are you creating a brand new message in the Inbox? Normally sender related > information is only set when a message is received or when it is sent and > saved to the Sent Items folder. > Note that for the RDOMail object, you can set the Sender and SentOnBehalfOf > properties. See teh following URL for an example: >...
which is more secure outlook or hotmail
Dirk W
0 / 1 28 Aug 2007
outlook which has certificates encryption and signing seems very private and secure. Is there any vulnerability between me and recipient of my email when I use outlook to encrypt and sign? How does Hotmail compare security and privacy-wise with outlook?...
Problem running script rule...
Lookout4Outlook
0 / 1 28 Aug 2007
Hello, I am attempting to run a script to check the file name of an attachment when new mail comes into my inbox and I am having a bit of trouble doing so. I have followed the instructions on http://www.outlookcode.com regarding running scripts with rules and I understand that the script must pass in Outlook.MailItem or Outlook.MeetingItem in order for them to be available to...
Redemption Objects: How to Save email with a valid Sent Date?
Dmitry Streblechenko
0 / 4 27 Aug 2007
All dates in MAPI are in the UTC timezone. If you need to convert to the local timezone, use MAPIUtils.HrGMTToLocal. Or use the RDOSession.Timezones collection (http://www.dimastr.com/redemption/rdo/rdotimezones.htm) All explicitly exposed properties (e.g. RDOMail.ReminderTime) are in the local time zone. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO...
Help pls : how to read/copy the body text and paste it in a textfile
Ken Slovak - [MVP - O...
0 / 2 27 Aug 2007
Take a look at www.outlookcode.com. If this is running on Outlook 2003 or earlier you will get security warnings when you try to read the item.Body or item.HTMLBody properties. The workarounds for that are at http://www.outlookcode.com/article.aspx?id=52. In Outlook 2007 with an up-to-date virus scanner you won't get the security prompts. What you want to read is item.Body for...
OMS: DeliverXms???
MailMr_S@gmx.de
0 / 1 25 Aug 2007
Hi! I like to transfer received SMS/MMS to Outlook. This could be done by sending an email with changed headers, but I found an intreseting document: https://secure.surem.net/in/info.asmx?WSDL If you compare this to that one on http://msdn2.microsoft.com/en-us/library/bb277361.aspx#OfficeOutlook2007OMSMobileServicesGuidelinesPt1_PackagingIncomingMobileMessages you'll find a new...
Suppress warning message
Dmitry Streblechenko
0 / 2 25 Aug 2007
See http://www.outlookcode.com/article.aspx?id=52 Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Bruce" <Bruce@discussions.microsoft.com> wrote in message news:48463BB5-6945-4EB3-8969-94A0FCEDF8C1@microsoft.com... > Hi - I am running the following macro from Access to send my email but it > gives the warning message 'a program...
Coding the 'Have replies sent to' delivery option to a mailite
Ken Slovak - [MVP - O...
0 / 4 24 Aug 2007
For your options to avoid the Outlook object model guard see http://www.outlookcode.com/article.aspx?id=52. I use Redemption myself. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "CyberCameron" <CyberCameron@discussions....
losing mail body content after close event of mailItem
Michael Bauer [MVP - ...
0 / 8 24 Aug 2007
Sorry, I don't know what's going on and I don't know anythign about JavaScript. Maybe you can and have to live with this workaround: MailItem.HTMLBody="" MailItem.Save MailItem.HTMLBody="Hello" MailItem.Save Again, you don't need to write all the basic HTML stuff. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice....
Unable to open specified profile when "prompt for profile" is set
Michael Bauer [MVP - ...
0 / 2 24 Aug 2007
> objNamespace.Logon otlProfileName, "", True, True Please consider the parameter values. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6> Am Thu, 23 Aug 2007 08:02:00 -0700 schrieb JDMAWoods: > I've been having trouble for about the past 4 months with the...
Format of Contact's UserCertificate property
Dan McDan
0 / 1 23 Aug 2007
Hello, We have been trying to determine the format of the data contained in the UserCertificate property of our contact items in Outlook. We can tell that there are several blobs in the form of (Identifier, blob size, data). We know that the tag ID of 3 is the contact's certificate. What we don't know is what all of these other fields mean. Is this documented somewhere?...
Find Filter Problems
Ken Slovak - [MVP - O...
0 / 5 23 Aug 2007
See if it works if you use a range test and not equality. Testing any date/time value for equality might always fail due to conversions from UTC to local time and rounding errors. Maybe test for a range of plus or minus a minute or two. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders,...
Type Mismatch. Revising CDO to RDO.
CV
0 / 1 22 Aug 2007
Never mind -- I got it working. Public Sub DuplicateSMTPRemoval() Dim objOutlook As Outlook.Application Dim objExplorer As Outlook.Explorer Dim objCDO As Redemption.RDOSession Dim objMailItem Dim objMessage Dim strMsgID As String Dim strOldMsgID As String Dim intMessagesCount As Integer Dim intDeletedMessagesCount As Integer Const Rdm_PR_INTERNET_MESSAGE_ID = &H1035001E Set...
Display Outlook Address Book From IE
OnlineGuidance
0 / 1 22 Aug 2007
I have a web application (ASP.NET). My challenge is to display the outlook address book when a button on a page is clicked. The catch is, the address book entry has to be a specific one coshoen by name and the properties of the address book entry displayed. I will settle for the address and an entry selected....
Outlook Find/Restrict method is not very smart! Preventing duplicates via VBA
Dmitry Streblechenko
0 / 16 21 Aug 2007
PR_SEARCH_KEY can be used through 1. Extended MAPI in any version of Outlook (C++/Delphi only) 2. Outlook 2007 (PropertyAccessor) 3. CDO 1.21 (any language, not available with Outlook 2007, optional installation with the older versions of Outlook) 4. Redemption (any version of Outlook, must be installed on the machine where the code runs) Dmitry Streblechenko (MVP) http://www....
cursor in Subject field in edited message
Ken Slovak - [MVP - O...
0 / 1 21 Aug 2007
There's no event like that at all. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Sergei Riaguzov" <hello@world.com> wrote in message news:faf3dd$q1v$1@news.onet.pl... > Hi, > > Is there any way to find out whether user is...
Need Some Help
Ken Slovak - [MVP - O...
0 / 2 20 Aug 2007
Take a look at the example VSTO addins for Outlook 2007 that are available for download on the MSDN web site for Office development, they show how to work with the ribbon. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "dw"...
How can I move or delete the Out-of-office-message via VBA?
Bouclainville
0 / 1 20 Aug 2007
Peace! How can I move or delete the Out-of-office-message via VBA-Code? With the rules it is not working every time. It is not a normal mailitem, so it does not work with "mail.move". Many thank for your help! Greetings Stefan...
move or delete out-of-office-autoreply via VBA-Code
Bouclainville
0 / 1 20 Aug 2007
How can I move or delete out-of-office-autoreply via VBA-Code. With the automated rule it does allways not working properly. Many thanks for your help! Stefan...
Alert message for a mail received in Public folder
Ken Slovak - [MVP - O...
0 / 1 17 Aug 2007
Look at code for the ItemAdd event at www.outlookcode.com. One such example is ZapHTML. Use that sort of code but handling the event on the public folder instead of the Inbox. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm...
type mismatch when printing user properties
ivanDBU
0 / 4 16 Aug 2007
Your advice put me on the right track. Thanks for your help, very much appreciated....
VBA help needed for extracting .msg attachment and moving to a
Sue Mosher [MVP-Outlook]
0 / 2 16 Aug 2007
You'd use the Namespace.OpenSharedItem method. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "LMW" <LMW@discussions.microsoft.com> wrote in message news:503740F0-4E66-43C9-92D3-78AB1417E7BF@microsoft.com... > Sue, > > How does one go about solving...
Populate one field based on another field's value
Ken Slovak - [MVP - O...
0 / 2 16 Aug 2007
Which country value? You have 3: BusinessAddressCountry, HomeAddressCountry and OtherAddressCountry. Say it's BusinessAddressCountry. strCountry = oContact.BusinessAddressCountry Select Case strCountry Case "United States of America" oContact.User1 = "USA" ' etc. for each one you want to test, just make sure you have the name right Finally save the contact to...
Uploading Outlook Calendar
Ken Slovak - [MVP - O...
0 / 2 15 Aug 2007
For code and a CSV file you'd have to parse the text in the file to get the settings for the appointment and then use code to create a new appointment and populate the settings yourself. There are no built-in methods to do that. You can search for code that might help at www.outlookcode.com. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional...
type mismatch when printing user properties
Ivan De Burchgraeve
0 / 1 15 Aug 2007
Hi, When trying to access a user defined property in my inbox I get a run time error 13 (Type mismatch) when attempting to print the property value. You find below a small test program that fails/halts in the statement "debug.Print objProperty.Value". As you can see the program recognises the existance of the property but fails when accessing the value. Can anybody help me further ? Thx...
macro to send excel information in email
Ken Slovak - [MVP - O...
0 / 2 14 Aug 2007
You might want to start looking at the code samples at www.outlookcode.com and search for those that show code similar to your requirements, and then post back here with any questions. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm...
How select mail item in activeexplorer
Ken Slovak - [MVP - O...
0 / 4 13 Aug 2007
You can't select an item in the UI with code. You can get a handle to any newly arrived items by handling ItemAdd on the Inbox Items collection or by handling NewMailEx or NewMail. But that still won't select the item in the UI. About all you could do is open the item. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder...
outlook2007 & scroll
Ken Slovak - [MVP - O...
0 / 3 13 Aug 2007
Sorry about that, I cleverly failed to notice that you were talking about Outlook 2007. None of the Window properties are available from the document object, the ActiveWindow in this case is the Inspector window and there's no way to scroll that using code. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager,...
All times are in (US) Eastern Daylight Time (GMT -4:00)