A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

SafeItem.TO property is empty when the recipient is in address



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 25th 06, 11:13 AM posted to microsoft.public.outlook.program_vba
Martin
external usenet poster
 
Posts: 87
Default SafeItem.TO property is empty when the recipient is in address

I've just spotted this thread after initiating "Redemption - problem with Save

In a nutshell, I'm having problems with the recommended CurrentItem.Save in
that it leaves an unnecessary copy in Drafts. Is there a way to remove this
if I decide not to manually save my message?



"Dmitry Streblechenko (MVP)" wrote:

Redemption (or any Extended MAPI code for that matter) won't see changes
made through the Outlook object model until you commit the changes - call
Item.Save before accessing SafeMailItem.To

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"tavo" wrote in message
...
Hi , thanks for the help in advance.
When I send to people who are stored in any address book, the SafeItem.TO

property is blank.
Here is a sample pseudo code:

Public Sub ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim SafeItem As Redemption.SafeMailItem
set SafeItem = createobject("Redemption.SafeMailItem")
SafeItem.Item = Item
MsgBox(SafeItem.To) -------- this shows blank, no sec prompt
MsgBox(SafeItem.Item.To) ------ this shows the recipient (but

triggers the sec prompt)
End Sub




Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! outlook keeps deleting recipient email address... networm Outlook - General Queries 2 March 8th 06 08:05 AM
empty outlook address book problem human1900 Outlook - Using Contacts 0 February 27th 06 08:49 AM
Address book is empty while hotmal contacts is full and usable onl DJ Outlook - Using Contacts 1 February 13th 06 08:16 PM
How to validate a Custom Property Page Jack Zhang Add-ins for Outlook 1 February 9th 06 07:22 PM
mailing to a second e-mail address for the same recipient DawnPT Outlook - Using Contacts 9 January 29th 06 12:38 PM


All times are GMT +1. The time now is 10:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.