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 - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to set CC @ Outlook Redemption



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 8th 06, 10:26 AM posted to microsoft.public.outlook
Luk
external usenet poster
 
Posts: 7
Default How to set CC @ Outlook Redemption

can anyone post me a sample code, how to use the Outlook Redemption CC
& BCC ?
when i try .cc " or .bcc = " then i get an error
"read only"

can anyone help me?

tanks in advance!

GreetZ, Luk

Ads
  #2  
Old November 8th 06, 10:34 AM posted to microsoft.public.outlook
Luk
external usenet poster
 
Posts: 7
Default How to set CC @ Outlook Redemption

The Code is:

Imports Microsoft.Office.Interop.Outlook
Imports Redemption

Class Form1
Dim outApp As Microsoft.Office.Interop.Outlook.Application
Dim outMail As Microsoft.Office.Interop.Outlook.MailItem
Dim safMail As SafeMailItem

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

outApp = New Microsoft.Office.Interop.Outlook.Application
outMail = outApp.CreateItem(OlItemType.olMailItem)
safMail = New SafeMailItem
safMail.Item = outMail

With safMail
")
..Cc = " - JUST READONLY ???
..Bcc = " - JUST READONLY ???
..Subject = "subject"
..Body = "something"

End Sub
End Class

  #3  
Old November 8th 06, 02:17 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to set CC @ Outlook Redemption

You'd be better off posting programming questions to a programming
newsgroup.

If you look in the Object Browser you'll see that Bcc and Cc are indeed
read-only.

You can either use the SafeRecipients.AddEx method and specify the recipient
type in that call or get the created recipient as a SafeRecipient object and
set SafeRecipient.Type. The enumeration members you want to use are either
olBCC or olCC. For a To address the setting would be olTo, although that's
the default so it doesn't need to be used.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Luk" wrote in message
ups.com...
The Code is:

Imports Microsoft.Office.Interop.Outlook
Imports Redemption

Class Form1
Dim outApp As Microsoft.Office.Interop.Outlook.Application
Dim outMail As Microsoft.Office.Interop.Outlook.MailItem
Dim safMail As SafeMailItem

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

outApp = New Microsoft.Office.Interop.Outlook.Application
outMail = outApp.CreateItem(OlItemType.olMailItem)
safMail = New SafeMailItem
safMail.Item = outMail

With safMail
")
.Cc = " - JUST READONLY ???
.Bcc = " - JUST READONLY ???
.Subject = "subject"
.Body = "something"

End Sub
End Class


 




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
Outlook Folder, PutFields with Redemption jprandi@gmail.com Add-ins for Outlook 1 August 11th 06 11:02 PM
Outlook freezes on Redemption SaveAs charles.lanteigne@gmail.com Add-ins for Outlook 5 April 27th 06 11:46 PM
Outlook freezes on Redemption SaveAs charles.lanteigne@gmail.com Add-ins for Outlook 0 April 27th 06 04:30 PM
Outlook Redemption fgibbcollins Outlook and VBA 2 March 16th 06 06:03 PM
Waht is the fastest/bets? Outlook Object/CDO/Redemption/...? Pieter Outlook and VBA 2 February 2nd 06 11:04 AM


All times are GMT +1. The time now is 03:14 PM.


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.