|
 |
asp_cdo thread: just dunno what problem with this few lines
Message #1 by "John Sen Yong" <yjohns@t...> on Fri, 22 Jun 2001 13:58:36 +0800
|
|
i have tried to send mail using cdonts but not successful. So i reduced
it to a few lines as below.
But still not successful..
there is no error message displayed when i run this code.
i m using windows 2000 iis 5.
please help.....
<%
Set NewMailObj=3DServer.CreateObject("CDONTS.NewMail")
NewMailObj.From=3D " best18@r..."
NewMailObj.To=3D " yjohns@t..."
NewMailObj.Subject=3D "User Feedback!"
NewMailObj.Body=3D "Request"
NewMailObj.Send
Set NewMailObj=3DNothing
%>
Message #2 by M FAKRUTHEEN <fakru@u...> on 22 Jun 2001 03:53:23 MDT
|
|
hi,
In your first line of coding
what it means "3DServer"?
u just replace the same with "Server"
i.e., the first line would be
Set NewMailObj=3DServer.CreateObject("CDONTS.NewMail")
i hope this may work.
regards
fakru
"John Sen Yong" <yjohns@t...> wrote:
i have tried to send mail using cdonts but not successful. So i reduced =3D
it to a few lines as below.
But still not successful..
there is no error message displayed when i run this code.
i m using windows 2000 iis 5.
please help.....
<%
Set NewMailObj=3D3DServer.CreateObject("CDONTS.NewMail")
NewMailObj.From=3D3D " best18@r..."
NewMailObj.To=3D3D " yjohns@t..."
NewMailObj.Subject=3D3D "User Feedback!"
NewMailObj.Body=3D3D "Request"
NewMailObj.Send
Set NewMailObj=3D3DNothing
%>
|
|
 |