View Single Post
  #1 (permalink)  
Old September 30th, 2004, 10:27 PM
md_haris md_haris is offline
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to md_haris
Default Sending email on win 2003 server

Have recently migrated our application from Win NT to Win 2003. SMTP server is not sending out emails. Made some code changes. But surprisingly, there is no errors, which makes it more harder to trace the problem. Any assistance is appreciated. My codes are below.


************************************************** *****************
Dim objMail
 MsgBox ("Test6b")
    'Set objMail = Server.CreateObject("CDO.Message")
    Set cdoMessage = Server.CreateObject("CDO.Message")
     MsgBox ("Test6c")

    objMail.From = strFrom
    objMail.To = strRecipient
    objMail.Subject = strSubject
    objMail.TextBody = strMessage

    'Send the email
    objMail.Send

    'Clean-up mail object
    Set objMail = Nothing

Reply With Quote