Results 1 to 1 of 1
2004-12-07, 11:11 #1
- Join Date
- Feb 2001
- Gillingham, Kent, England
- Thanked 0 Times in 0 Posts
Question RE Appointment requests (VB6)
I didnt bolt this onto my previous question as the subject matter was already jumping around quite a bit, therefore:
I've been looking at the page below from MSDN.
The section of code below seems to set the organisers address. Is there a way to set it to an address not on the exchange server it's being run from? i.e. can iPers be set to firstname.lastname@example.org ???
Any help would be much appreciated.
Sub SendMeetingRequest(iAppt As CDO.Appointment, _
iMbx As IMailbox, _
strAttnMandatory() As String, _
strAttnOptional() As String)
Dim iCalMsg As CalendarMessage
Dim Config As New Configuration
Dim iAttendee As New Attendee
Dim iPers As CDO.Person
'Set the configuration fields
Set iPers = iMbx
Config(cdoSendEmailAddress) = iPers.Email
Config(cdoMailboxURL) = iMbx.BaseFolder