Outlook appointment in asp.classic

Status
Not open for further replies.

Mahasure

New Member
Outlook version
Older version
Email Account
Exchange Server
Hi Team, I wanted to send event confirmation to user in form of outlook appointment and my code is in ASP.Classic, windows server 2000 and outlook is not installed.
when i execute below code .. my webpage hangs up..
Sub SendMeetingRequest()
Dim objOL 'As Outlook.Application
Dim objAppt 'As Outlook.AppointmentItem
Const olAppointmentItem = 1
Const olMeeting = 1
Set objOL = CreateObject("Outlook.Application")
Set objAppt = objOL.CreateItem(olAppointmentItem)
With objAppt .Subject = "My Test Appointment"
.Start = Now + 1
.End = DateAdd("h", 1, .Start) ' make it a meeting request
.MeetingStatus = olMeeting
.RequiredAttendees = "someone@somewhere.dom"
.Send
End With
Set objAppt = Nothing
Set objOL = Nothing
End Sub
Is that because outlook is not installed in my server? if yes then please let me know other solution because i dont want to install anything on my server
Please help
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange

Mahasure

New Member
Outlook version
Older version
Email Account
Exchange Server
Hi Daine,
Thanks for your reply.

I tried CDO, and tried to install CDO(ver 1.2.1) in my local machine but it says that i need to Install Outlook 2007 first
and then the CDO installation was cancelled automaticaly
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S New Outlook Appointment - Select All Body Text and Change Font and Size Outlook VBA and Custom Forms 1
W Space in an Outlook appointment body Using Outlook 0
S View Appointment in Text Wrap in Outlook 2007 Month Calendar View Using Outlook 0
Diane Poremsky Create an Outlook appointment from an email message Using Outlook 4
N Adding Appointment Item in Outlook to Shared Calendar Folder Outlook VBA and Custom Forms 7
J Outlook calendar...How to add an event or appointment without a border around it? Using Outlook 9
F Outlook 2010 Search Appointment Notes Using Outlook 0
Tech Checkers Make Outlook add Contact Card Address in Location Field based on Appointment Subject Name. Using Outlook 2
K Importing appointment body from excel in outlook 2010 Using Outlook 1
L Showing @live account in outlook 2013 calendar as private appointment Using Outlook 1
A iCloud add-on for Outlook: Reminder for new appointment is set to 'None' by default. How to change? Using Outlook 6
J Outlook 2010: can't forward appointment on custom form Using Outlook 1
Rijotech Outlook 2013 Appointment list custom positions? Using Outlook 2
R How to copy outlook 2010 shared calendar appointment or meeting to personal calendar by vba? Outlook VBA and Custom Forms 1
R Static Resources in Custom Outlook Appointment Form Using Outlook 2
L Outlook 2007 Code for Note Fields of Appointment Using Outlook 102
M Outlook Appointment Item exceeds beyond the date range Using Outlook 2
S Calendar deletes appointment after entry from both Outlook and Icloud calander Using Outlook 1
M Outlook Appointment item does not show the item outside the date range Using Outlook 2
H Reocurring outlook appointment (office 2010) does not update Outlook.com Using Outlook 3
C Outlook Appointment issue when synchronized with iCloud 2 Using Outlook 8
M "New Appointment from Contact" command missing from Outlook 2003 Using Outlook 1
B Outlook Calendar Appointment Problem Using Outlook 1
O Rescheduling appointment on Outlook 2010 for Windows creates duplicate entry Using Outlook 2
T Outlook makes every appointment recurring and set to the current date/time Using Outlook 2
P Create appointment to custom (shared) outlook calendar Outlook VBA and Custom Forms 3
J Outlook Appointment recurrence setting Outlook VBA and Custom Forms 4
S Custom Form overwriting the default appointment form in outlook 20 Outlook VBA and Custom Forms 1
Q How outlook Store Appointment Outlook VBA and Custom Forms 1
KurtLass Opening Graphics Attachments in Outlook 2021 Using Outlook 0
P now on office 365 but getting error messages about missing Outlook 2013 cache folders Using Outlook 2
B Outlook config download Outlook VBA and Custom Forms 1
M Short term workaround for when Outlook searching stopped functioning Using Outlook 0
D Outlook 2016 Creating an outlook Macro to select and approve Outlook VBA and Custom Forms 0
L Fetch, edit and forward an email with VBA outlook Outlook VBA and Custom Forms 2
BartH VBA no longer working in Outlook Outlook VBA and Custom Forms 1
L Synch Outlook 365 calendar with iPhone Using Outlook 0
W Can vba(for outlook) do these 2 things or not? Outlook VBA and Custom Forms 2
S Outlook 2016 and Acrobat PDFMaker Office COM Addin Using Outlook 0
M "Attachment Detacher for Outlook" add in, does it update the server copy of the email? Using Outlook 1
M Outlook 365 Rename Outlook Priority Using Outlook 3
R Outlook 2019 accesses POP3 but says its offline (because of IMAP servers?) Using Outlook 0
R Outlook Working off line Using Outlook 0
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
W Outlook 2016 MSI - Possible to make work with O365 modern Auth & Win7? Using Outlook 4
T Outlook roaming signatures Using Outlook 4
S Adding a recipient's column to Sent folder in Outlook 2010 Outlook VBA and Custom Forms 1
J Outlook search bar in Office 2021 Professional Using Outlook 1
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
C How to fix outlook continuing to prompt fo an Exchange password Using Outlook 0

Similar threads

Top