README.md

December 5, 2022 ยท View on GitHub

E-mail using MAPI

Description

Sends an e-mail using MAPI

More Info

place two mapi controls on a form

set mapi user name and password

Submitted On
ByDave Greenwood
LevelUnknown
User Rating5.0 (15 globes from 3 users)
CompatibilityVB 5.0, VB 6.0
CategoryInternet/ HTML
WorldVisual Basic
Archive File

Source Code

MAPIsession1.SignOn
if mapisession1.sessionID <> 0 then
with mapimessages1
.sessionid = MapiSession1.sessionID
.compose
.recipdisplayname "YOUR NAME"
recipaddress = "me@myipdomain.com"
.msgsubject = "SUBJECT"
.msgnotetext= "Message"
.send false
end with
mapisession1.signoff
end if