Hi All,
Greetings....
I am working on ASP, VBScript ,Javascript.... ...and in one piece of module i want to send mail . and i am using ASP Persits software...
but the error is very peculiar as shown below:
454 5.7.3 Client does not have permission to submit mail to this server
Below is the code that i am using ...
[Code]
Set Mail = Server.CreateOb ject("Persits.M ailSender")
Mail.host = session("lanip" )
fromid = "abc@abc.co m"
toid = Request.Form("t o")
mailbody = Request.Form("b ody")
Mail.AddAddress toid
Mail.From = fromid
mail.username = session("muser" )
mail.password = session("mpass" )
Mail.subject = "Your User ID and Password for PMIS"
Mail.IsHTML = true
Mail.Body = mailbody
strErr = ""
bSuccess = False
On Error Resume Next
Mail.Send
'Response.Write (err.descriptio n)
If Err <> 0 Then
strErr = Err.Description
Response.Write "Error encountered: " & Err.Description
'else
' bSuccess = True
End If
[Code]
Also...i have used CDO..... but all in Vain.....
CDO is also not working...
Please let me know in detail what all possible resons can be for this particular error......
Thanks & regards
Greetings....
I am working on ASP, VBScript ,Javascript.... ...and in one piece of module i want to send mail . and i am using ASP Persits software...
but the error is very peculiar as shown below:
454 5.7.3 Client does not have permission to submit mail to this server
Below is the code that i am using ...
[Code]
Set Mail = Server.CreateOb ject("Persits.M ailSender")
Mail.host = session("lanip" )
fromid = "abc@abc.co m"
toid = Request.Form("t o")
mailbody = Request.Form("b ody")
Mail.AddAddress toid
Mail.From = fromid
mail.username = session("muser" )
mail.password = session("mpass" )
Mail.subject = "Your User ID and Password for PMIS"
Mail.IsHTML = true
Mail.Body = mailbody
strErr = ""
bSuccess = False
On Error Resume Next
Mail.Send
'Response.Write (err.descriptio n)
If Err <> 0 Then
strErr = Err.Description
Response.Write "Error encountered: " & Err.Description
'else
' bSuccess = True
End If
[Code]
Also...i have used CDO..... but all in Vain.....
CDO is also not working...
Please let me know in detail what all possible resons can be for this particular error......
Thanks & regards
Comment