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

Adding a CC address to a mail



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 2nd 09, 05:52 PM posted to microsoft.public.outlook.program_forms
Nat
external usenet poster
 
Posts: 26
Default Adding a CC address to a mail

Excuse me for my ignorance, however I am no programmer. Someone contacted me
becuase we have a custom form created, and when they click a link on that
form, it generates an email to one of our users. They would like to include
additional addresses in teh CC field. I viewed the code behind the form and
this is what I found
Sub CommandButton1_Click


set MyItem = Application.CreateItem(0)
myitem.to = " Joe Schmoe"
myitem.subject = "Bulletin Board Meeting Notice"
myitem.Body = "This is a request for the following meeting to be displayed
on the electronic bulletin board: " & chr(10) & chr(10) & " " &
userproperties.find("MeetingTitle").value & chr(10)& chr(10)& "The meeting
will be held on: " & userproperties.find("calcdate").value & " from " &
userproperties.find("calcstarttime").value & " to " &
userproperties.find("calcendtime").value & chr(10) & Chr(10) & "The meeting
location is: Conference Room " & userproperties.find("ConfRoom").value & "."
& chr(10) & chr(10) & "Please contact " &
userproperties.find("ContactPerson").value & ", " &
userproperties.find("Division").value & ", at " &
userproperties.find("ContactPhone").value & " for more information."
Myitem.display

item.userproperties("BulletinMessageSent").value = "True"
item.save
End Sub

My guess is that the myitem.to="Joe Schmoe" is where I want to start,
however I am not positive how to add another user but as a CC, or if I just
have to add addl users on the same line.

Any help would be greatly appreciated.
 




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
Adding new email to address book John[_17_] Outlook - General Queries 2 June 22nd 08 07:47 AM
Address lookup doesn't work when adding to outlook address book Grd Outlook and VBA 2 May 19th 08 07:53 PM
Adding address books for e-mail jpowell Outlook - Installation 6 November 26th 07 02:55 AM
Address -- adding it automatically [email protected] Outlook - Using Contacts 3 August 17th 07 09:12 AM
Adding to Address Group donna Outlook Express 3 March 24th 06 01:10 AM


All times are GMT +1. The time now is 04:59 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.