473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How do you send outlook appointment email?

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
0 9079

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kamyk | last post by:
Hello all! I have the following problem. I know how to create a mail in VB with a subject and people to send, but is it possible to create an Outlook appointment in VB, if it is possible, please...
2
by: Kent | last post by:
Hi all, I have a .aspx page that I would like to Outlook. I can do that from the browser by: File/Send/Page by Email ...but it would be better if I cold send directly to Outlook. How can I...
0
by: Georges | last post by:
Hi, Can anyone help me with this. I would like to create outlook appointment from a web application. I tried to look at the CDO, WebDAV and MAPI documentations without success. what is the best...
6
by: chuckdfoster | last post by:
Is there a way to create an New Outlook Appointment from an ASP.NET application? I would also need to check if Outlook is running first. Any suggestions, advice?
6
by: h.khalid11 | last post by:
dear all, I have a list of files that the path of that files are stored in a list box, but now want to compress all these files stored in the list box and send it by email from outlook.(I am using...
9
by: JBuckner | last post by:
My macro uses the Send Object (VBA Item.Send) function to email a spreadsheet to an Outlook contact list. I want the function to be completely automatic but Outlook displays a security warning...
0
by: keri | last post by:
Hi everyone, I have searched for info on this topic but have not found anything. Basically I have a db that posts appointments to outlook. I would like to be able to set all of the outlook...
0
by: guy | last post by:
I was wondering whether SteveMoren was able to send Outlook task using ASP.NET? If so, could he provide the code. That would be greatly appreciated. EggHeadCafe.com - .NET Developer Portal of...
1
by: steinwaygirl | last post by:
Hi all, I have been searching so hard for the answer to this, hopefully some of you all can help. I have created an HTML file with various forms - also included CSS and some javascript for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.