ASP Error:(0x8004020F).The event class for this subscription is in an invalid partition
-
Hi all, I am getting the following error when i run my asp application to send an email using SMTP. "ASP Error:(0x8004020F).The event class for this subscription is in an invalid partition /ASP_EMAIL/mailreply.asp, line 28". The code sample is shown below. <% Dim MyMail Set MyMail = CreateObject("CDO.Message") MyMail.From = Request.Form("FromField") MyMail.To = Request.Form("ToField") MyMail.Cc = Request.Form("CcField") MyMail.Bcc = Request.Form("BccField") MyMail.Subject = Request.Form("SubjectField") MyMail.TextBody = Request.Form("BodyField") MyMail.Configuration.Fields.Item_("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 MyMail.Configuration.Fields.Item_("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "server name" MyMail.Configuration.Fields.Update 'Error occured in the below line MyMail.Send Set MyMail = Nothing %> The error occured in the line Mymail.send Try,if somebody could help me out in this. Thanks in advance. Ramya