Rishi Makes IT Easy

This is about me and my journey

Sunday, June 3, 2007

Script to send email from a server which has SMTP service running.

Set objEmail = CreateObject("CDO.Message")
objEmail.From = "Rishi.Bhardwaj@abc.com"
objEmail.To = "myself@abc.com"
objEmail.Subject = "Automated Email"
objEmail.Textbody = "Server is running SMTP."
objEmail.AddAttachment "abc.txt"
objEmail.Send
Posted by Rishi Bhardwaj at 2:24 AM

No comments:

Post a Comment

Newer Post Home
Subscribe to: Post Comments (Atom)

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

TechNet Feed

About Me

Rishi Bhardwaj
I will be 31 on 1st of Oct. If you any queries write to me at : bhardwajrishi@gmail.com
View my complete profile

Blog Archive

  • ►  2012 (2)
    • ►  November (1)
    • ►  July (1)
  • ►  2009 (3)
    • ►  July (1)
    • ►  January (2)
  • ►  2008 (5)
    • ►  December (1)
    • ►  November (1)
    • ►  July (3)
  • ▼  2007 (13)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ▼  June (10)
      • Export All DL's in a Domain
      • Drive Safely
      • Shortcut to Command Prompt
      • Move the Offline Address Book to another drive
      • NDR : 5.1.4
      • Macro to warn you if attachment is missed
      • Range of MX Record
      • Myth of /3GB
      • User Info w/o using Adsiedit
      • Script to send email from a server which has SMTP ...

Good Sites

  • Clustering and High Availability
  • Windows Clustering
  • MS Windows Server Team
  • MS Storage Team
  • MS Server Core Team
  • MS Exchange Team Blog
  • Windows Hack
  • DLL Resource
  • Event ID
  • Script Center
  • msexchange.org
Picture Window theme. Powered by Blogger.