.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> VBScript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Sending Mails in VBScript

Posted By:Athira Sreejith       Posted Date: April 07, 2009    Points: 10    Category: VBScript    URL: http://www.dotnetspark.com  
 

 

Sending Mails in VBScript

 

<%  
 dim strMailContent
  strMailContent = "

"
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & ""
  strMailContent = strMailContent & "
Persoal Post
   
"

  Set mailcomp1   = CreateObject("CDO.Message")
  mailcomp1.From   = bb@yahoo.com
  mailcomp1.Cc   = "aa@gmail.com"    
  mailcomp1.Subject  = "Personal Post"
  mailcomp1.HTMLBody   = strMailContent
  mailcomp1.Send

 

 


     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend