VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple mail sender including reference of outlook express

by Mahesh Vaghasiya (4 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 4th October 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Simple mail sender including reference of outlook express

API Declarations


Dim ap As Outlook.Application
Dim mail As Outlook.MailItem


Rate Simple mail sender including reference of outlook express



' Microsoft outlook 9.0 object library
' Then copy the given code in the load event of form



Set ap = New Outlook.Application
Set mail = ap.CreateItem(olMailItem)
With mail
    mail.To = "Receiver's address"
    mail.Subject = "Subject"
    mail.BCC = ""
    mail.CC = ""
    mail.Body = "Your Message"
    mail.Send
End With

Download this snippet    Add to My Saved Code

Simple mail sender including reference of outlook express Comments

No comments have been posted about Simple mail sender including reference of outlook express. Why not be the first to post a comment about Simple mail sender including reference of outlook express.

Post your comment

Subject:
Message:
0/1000 characters