VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



E-mail using MAPI

by Dave Greenwood (5 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Sends an e-mail using MAPI

Assumes
place two mapi controls on a form set mapi user name and password

Rate E-mail using MAPI

MAPIsession1.SignOn
if mapisession1.sessionID <> 0 then
with mapimessages1
.sessionid = MapiSession1.sessionID
.compose 
.recipdisplayname "YOUR NAME"
recipaddress = "[email protected]"
.msgsubject = "SUBJECT"
.msgnotetext= "Message"
.send false
end with
mapisession1.signoff
end if

Download this snippet    Add to My Saved Code

E-mail using MAPI Comments

No comments have been posted about E-mail using MAPI. Why not be the first to post a comment about E-mail using MAPI.

Post your comment

Subject:
Message:
0/1000 characters