Error: jmail.SMTPMail error '8000ffff'
Cannot open file L:/ems/mail/hi.html
Code:
<%
DIM strEmail, strFirstName, strLastName, strSubject, strComments, Mailer
strEmail = Request.Form("Email")
strFirstName = Request.Form("FirstName")
strLastName = Request.Form("LastName")
strSubject = Request.Form("Subject")
strComments = Request.Form("Comments")
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.Logging = True
JMail.ServerAddress = "ltvsgroupware:25"
JMail.ContentType = "text/html"
JMail.AddRecipient "care_gd@lucastvs.co.in"
JMail.Sender = strEmail
JMail.Subject = strSubject
JMail.Body = strComments
JMail.AddAttachment "L:/ems/mail/hi.html"
JMail.Execute
Set JMail= Nothing
IF NOT JMail.Execute THEN
Response.Write( "ERROR MESSAGE: " & JMail.ErrorMessage & "<BR>" & vbcrlf )
Response.Write( "ERROR SOURCE: " & JMail.ErrorSource & "<BR>" & vbcrlf )
Response.Write( "LOG: <pre>" & JMail.Log & "</pre>" & vbcrlf )
ELSE
Response.Write "<blockquote>Your :<b>" & strSubject & "</b> Newsletter has been successfully sent to <b>" & intSubscribers & "</b> subscribers.</blockquote>"
END IF
%>
dont know what to do????
thanks in advance.