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
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment