Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   Simple sending mail fails (http://www.go4expert.com/forums/simple-sending-mail-fails-t9852/)

rag84dec 8Apr2008 13:14

Simple sending mail fails
 
Hi i am using the folllowing code to send a simple mail but it is failing i mean it is not sending any mail.I have SMTP installed on my machine...
Code:

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Subject"
objMessage.Sender = "some@gmail.com"
objMessage.To = "some@gmail.com"
objMessage.TextBody = "e-mail message"
objMessage.Send


subashini 8Apr2008 19:27

Re: Simple sending mail fails
 
I think you should create object for your smtpmail.

pradeep 9Apr2008 10:22

Re: Simple sending mail fails
 
Try CDONTS, www.go4expert.com/forums/showthread.php?t=1565


All times are GMT +5.5. The time now is 12:02.