1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Simple sending mail fails

Discussion in 'ASP' started by rag84dec, Apr 8, 2008.

  1. rag84dec

    rag84dec New Member

    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
    
    
    
     
  2. subashini

    subashini New Member

    I think you should create object for your smtpmail.
     
  3. pradeep

    pradeep Team Leader

Share This Page