VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This program sends a email using the Microsoft Mapi Controls 6.0.

by Kaustubh Zoal (10 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 21st June 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This program sends a email using the Microsoft Mapi Controls 6.0.

Rate This program sends a email using the Microsoft Mapi Controls 6.0.



    MS.NewSession = True
    MS.UserName = kaustubhz
    MS.Password = Form1.Tag
    MS.Action = 1
    MM.SessionID = MS.SessionID
    MM.FetchUnreadOnly = True
    txtSubject.Text = MM.MsgSubject
    txtMessage = MM.MsgNoteText
    MS.Action = 2
End Sub
Private Sub cmdSend_Click()
    MS.NewSession = True
    MS.Action = 1
    MM.SessionID = MS.SessionID
    MM.Compose
    MM.MsgSubject = txtSubject.Text
    MM.MsgNoteText = txtMessage
    'MM.MsgOrigAddress = "[email protected]"
    MM.RecipAddress = txtTo.Text
    MM.Send
    txtMessage.Text = ""
    MS.Action = 2
End Sub

Download this snippet    Add to My Saved Code

This program sends a email using the Microsoft Mapi Controls 6.0. Comments

No comments have been posted about This program sends a email using the Microsoft Mapi Controls 6.0.. Why not be the first to post a comment about This program sends a email using the Microsoft Mapi Controls 6.0..

Post your comment

Subject:
Message:
0/1000 characters