Hi all !!!
Why this code won't send me mail.
<%@ Language= VBScript %>
<% Option Explicit %>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<%
Dim myMail
Set myMail= Server.CreateObject( "CDONTS.NewMail" )
myMail.From= "swapnils@convergelabs.com"
myMail.To= "manishs@convergelabs.com"
myMail.Subject="subject"
myMail.BodyFormat = 0
myMail.MailFormat = 0
myMail.Body="message"
myMail.Send
Set myMail=Nothing
Response.Write"Your mail was sent!"
%>
</BODY>
</HTML>
Thanx in Advance -
Swapnil Sawe.
Why this code won't send me mail.
<%@ Language= VBScript %>
<% Option Explicit %>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<%
Dim myMail
Set myMail= Server.CreateObject( "CDONTS.NewMail" )
myMail.From= "swapnils@convergelabs.com"
myMail.To= "manishs@convergelabs.com"
myMail.Subject="subject"
myMail.BodyFormat = 0
myMail.MailFormat = 0
myMail.Body="message"
myMail.Send
Set myMail=Nothing
Response.Write"Your mail was sent!"
%>
</BODY>
</HTML>
Thanx in Advance -
Swapnil Sawe.