Why can’t I send an email using basic VBscript in an.asp page?
Posted on : 22-02-2010 | By : admin | In : Programming & Design
Tags: Email Asp, Error Message, Marketing, Send An Email, Send Email
1
here is the relevent portion of my code:
Dim objMail
Set objMail = CreateObject(”CDONTS.NewMail”)
ObjMail.Send “erikbays@yahoo.com”, “marketing@republiccapitalgroup.com”, “Subject”, “This is the body.”
Set objMail = Nothing
it is very basic; straight off of the Microsoft web site in fact. Executing this script does not give me an error. The resulting page displays normally. I just don’t ever get an email. I have checked my bulk bin. My server is running VBScript version 5. Without an error message I can’t figure out what the problem is.