Question

  Asked: Jul 23 2007   10:18 PM GMT
  Asked by: Database111


Error : 505, local host gmail, not gatway (ASP)-2


ASP

I have function to send mail.....by using ASP.

Function sendMail()
Dim confirmMail
On Error Resume Next
Set confirmMail = Server.CreateObject("Persits.MailSender")
confirmMail.Host = "mail.selltest-online.com"
confirmMail.FromName = "bourng@gmail.com"
confirmMail.From = "no_reply@selltest-online.com"
confirmMail.AddAddress "bourng@gmail.com"
confirmMail.Subject = "Subject testing sending mail"
confirmMail.Body = "Body testing send mail."
'--On Error Resume Next
confirmMail.Send
Set confirmMail = Nothing
If Err <> 0 Then ' error occurred
Call Response.Write(Err.Description)
Else
Call Response.Write("message sent")
End If
End Function

When i testing it alert this error message "505, local host gmail, not gatway"
Please resolve this function...

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



This site should help you out...

http://www.systemnetmail.com/
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development.

Looking for relevant Development Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register