Hi All..
I am using Following Code to send an email to the user... No Error but the mail is not being sent...
I am new to this.. so plz help me even if i am being so stupid...
VB Code:
  1. Dim myMail
  2.     Set myMail = CreateObject("CDONTS.NewMail")
  3.     myMail.From = "[email protected]"
  4.     myMail.To = "[email protected]"
  5.     myMail.Subject = "Your account information"
  6.     myMail.Body =   sBody = "Hi " & firstname & " " & lastname & vbcrlf & "You  have been registered under UserName: " & loginname & " and Password: " & upass
  7.     myMail.Send
  8.     Set myMail = Nothing