By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 2,015 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

How do you send outlook appointment email?

P: n/a
Could someone tell me how to send outlook appointment email from asp
page?
I would like appointment email just like one outlook can send out.
I tried to look for an answer for this, but it seems exchange server
has to be installed on web server if I want to use the following
code??
Is there way to send outlook appointment email without using
outlook.Application object?
If not, how can I make the code below work since we have separate mail
server?
If I'm misunderstanding how things work, please clarify my
understanding too.
Thank you for your help!
Sub SendMeetingRequest()

Dim objOL 'As Outlook.Application
Dim objAppt 'As Outlook.AppointmentItem
olAppointmentItem = 1
olMeeting = 1

Set objOL = Server.CreateObject("Outlook.Application")
Set objAppt = objOL.CreateItem(olAppointmentItem)

objAppt.Subject = "My Test Appointment"
objAppt.Start = #7/18/03 1:30:00 PM#
objAppt.End = #7/18/03 2:30:00 PM#
objAppt.Location = "Test Environment"
' make it a meeting request
objAppt.MeetingStatus = olMeeting
objAppt.RequiredAttendees = "so*****@someco.com"
objAppt.Send

Set objAppt = Nothing
Set objOL = Nothing

End Sub
Jul 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.