S
SSG
Dear All,
I am new to ASP , I am using Win XP pro ..
I am trying to send mail thru ASP pgm...
BW is the coding.......
<%
Sub send_email(email_from, email_to, email_subject, email_body)
Dim Newmail
Set Newmail = server.CreateObject ("cdonts.newmail") // (line
12)
Newmail.BodyFormat = 0
Newmail.MailFormat = 0
Newmail.From = email_from
Newmail.To = email_to
Newmail.Subject = email_subject
Newmail.Body = email_body
Newmail.Send
Set Newmail = Nothing
End Sub
Call send_email("(e-mail address removed)","(e-mail address removed)","Subject","Body")
%>
While running this pgm , its showing BW error
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/pro/mail.asp, line 12
I am not able to find out the exact pblm...
Pls advise me hw to solve the PBLM..............
Thx & Rgds
SSG
I am new to ASP , I am using Win XP pro ..
I am trying to send mail thru ASP pgm...
BW is the coding.......
<%
Sub send_email(email_from, email_to, email_subject, email_body)
Dim Newmail
Set Newmail = server.CreateObject ("cdonts.newmail") // (line
12)
Newmail.BodyFormat = 0
Newmail.MailFormat = 0
Newmail.From = email_from
Newmail.To = email_to
Newmail.Subject = email_subject
Newmail.Body = email_body
Newmail.Send
Set Newmail = Nothing
End Sub
Call send_email("(e-mail address removed)","(e-mail address removed)","Subject","Body")
%>
While running this pgm , its showing BW error
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/pro/mail.asp, line 12
I am not able to find out the exact pblm...
Pls advise me hw to solve the PBLM..............
Thx & Rgds
SSG