Hi,
Ihave to send an email from my application.
I am using CDONTS to send it.
The code is as follows:
Dim objCDOMail
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = "abc"
objCDOMail.To = "myemailid@gmail.com"
objCDOMail.Subject = "Enquiry sent from my web site"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = "<h2>Hello</h2><br><b>This is my e-mail in HTML format</b>"
objCDOMail.Importance = 1
objCDOMail.Send
Set objCDOMail = Nothing
I am getting no error. But the mail is also not reaching up to the destination.
can any body help me.
thanks in advance