Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 26th, 2004, 08:10 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server.CreateObject("Outlook.Application")

Hi,

I have an ASP page with the following code:



<%
@ Language = VBscript
%>

<% option explicit%>
<!--METADATA
TYPE="TypeLib"
NAME="Microsoft Outlook 11.0 Object Library"
UUID="{00062FFF-0000-0000-C000-000000000046}" VERSION="9.2"
-->
<%
Dim objOutlook
Dim objMail

Set objOutlook = Server.CreateObject("Outlook.Application")
Set objMail = objOutlk.createitem(olMailItem)

Set objMail = nothing
Set objOutlook = nothing

<html>
<head>
    <title>Outlook Mail Test</title>
</head>

<body>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<BR>
?????????????????????????????

</body>
</html>


My problem is that the page never finishes loading, it just sort of hangs there. I just had the SysAdmin install Outlook on the web server. It is possible it needs a reboot or something...

Has anyone else gottin this to work ever?

Reply With Quote
  #2 (permalink)  
Old September 4th, 2004, 01:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Take a look at this and see if that helps.

Send Outlook message from script

Cheers!

_________________________
- Vijay G
Strive for Perfection
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Excel, outlook createobject Willie Johnson Jr Excel VBA 0 March 10th, 2006 05:11 AM
How To use server.createobject in c# ranakdinesh C# 0 November 4th, 2005 08:18 AM
error when createobject excel.application vovo Classic ASP Professional 0 February 3rd, 2005 12:29 AM
use CreateObject("word.application") in ASP Andraw Classic ASP Basics 10 January 14th, 2005 08:11 PM
Server.CreateObject Failed ckwizard77 Classic ASP Components 2 October 23rd, 2004 09:41 AM



All times are GMT -4. The time now is 05:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.