nghiapk
07-08-03, 10:58 PM
Hi all
I used this code to send mail from my web
<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "thuephim.com" ' Specify your domain
Mail.From = "webmaster@thuephim.com" ' Specify sender's address
Mail.FromName = "Phan Khanh Nghia" ' Specify sender's name
Mail.AddAddress "nghiapk2001@yahoo.com"
Mail.AddReplyTo "webmaster@thuephim.com"
Mail.Subject = "Test"
Mail.Body = "To whom it may concern:" & Chr(13) & Chr(10) & _
"This is a test."
On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If
%>
and it responsed me this massage:
Error encountered: 503 This mail server requires authentication. Please check your mail client settings.
Please help me.
Thanks & regard
Nghia
I used this code to send mail from my web
<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "thuephim.com" ' Specify your domain
Mail.From = "webmaster@thuephim.com" ' Specify sender's address
Mail.FromName = "Phan Khanh Nghia" ' Specify sender's name
Mail.AddAddress "nghiapk2001@yahoo.com"
Mail.AddReplyTo "webmaster@thuephim.com"
Mail.Subject = "Test"
Mail.Body = "To whom it may concern:" & Chr(13) & Chr(10) & _
"This is a test."
On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If
%>
and it responsed me this massage:
Error encountered: 503 This mail server requires authentication. Please check your mail client settings.
Please help me.
Thanks & regard
Nghia