'CDO.Message' object error

He has: 118 posts

Joined: Feb 2007

I got the following error

Could not access 'CDO.Message' object

on this script

<?php
'Sends an email
Dim mail
Set mail = Server.CreateObject("CDO.Message")
mail.To = Request.Form("To")
mail.From = Request.Form("From")
mail.Subject = Request.Form("Subject")
mail.TextBody = Request.Form("Body")
mail.Send()
Response.Write("Mail Sent!")
'
Destroy the mail object!
Set mail = nothing
?>

can anyone spot my mistake?

Toby Frost
Frost Conservatories
frostconservatories.co.uk

He has: 118 posts

Joined: Feb 2007

I am a fool!

I got it working now, just need to get the flash movie to send variables to the asp page that sends them.

sorry to waste anyones time...

Toby Frost
Frost Conservatories
frostconservatories.co.uk

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

tobyfrost wrote: sorry to waste anyones time...

Don't worry, I only just started looking at this. I also seem to be the only one willing to look at ASP stuff around here. Smiling Roll eyes

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.