Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft VBScript runtime error '800a01ad'
Message
De
09/01/2002 19:43:03
 
 
À
09/01/2002 13:22:28
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00602606
Message ID:
00602787
Vues:
19
>I am trying to send email through an ASP page. I had trouble using CDONTS because of a firewall issue which couldnt be resolved. So I am no tying to send the email using the Exchange Server. I tried doing this by creating an instance of Outlook. However the code crashes on the createobject with the following error:
>
>Microsoft VBScript runtime error '800a01ad'
>
>ActiveX component can't create object: 'Outlook.Application'
>
>/MailTest.asp, line 15
>
>Here is the code i am trying to run:
>Set objOutlook = CreateObject("Outlook.Application")
>Set oEmail = oOutLookObject.CreateItem(0)
>oEmail.to="Shevy@suttonland.com"
>oEmail.body = "testing testing"
>oEmail.send()
>Set ObjOutlook = nothing
>Set oEmail = nothing
>
>If anyone has any ideas i would appreciate!
>Shevy


Install the SMTP service on your server and use the ASPEmail (free for the basic version). You can download it at www.aspemail.com (not www.aspmail !)
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform