473,473 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MAPISendMail question - repost

MLH
130 Targets(0) = "smtp:CR**@NorthState.net"
135 MySubject = "Some relevant subject"
140 MyBodyText = "Blah, blah, blah"
150 Call SendMailWithOE(MySubject, MyBodyText, Targets)

SendMailWithOE invokes MAPISendMail courtesy of the
msoe dll in the outlook express folder. (see function declaration)

Declare Function MAPISendMail _
Lib "c:\program files\outlook express\msoe.dll" ( _
ByVal Session As Long, _
ByVal UIParam As Long, _
Message As MAPIMessage, _
ByVal Flags As Long, _
ByVal Reserved As Long) As Long

I would like to use the function call to call OE up in a state much
as it is when you open OE, click Create Mail and then click the
"Offline" icon on the compose window's menu bar. Creating a
letter that way writes the finished letter to OE's Outbox folder
rather than actually attempting to SEND it.

Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?
Oct 4 '06 #1
1 2093
did you test out the properties/methods that MAPI exposes? Did you
wander over to the bookstore and look up the OReilly book on using
MAPI? Did you look on the MS site? Or are you just expecting everyone
to do your work for you again?

Oct 4 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sparky | last post by:
Hi I'm trying to send an email using the MAPISendMail API call without much luck. Has anyone got sample VB.Net code that uses MAPISendMail? I need to be able to send an email to one...
3
by: Adam | last post by:
I've posted about this previously, but failed to receive a satisfactory response, so have included a code sample: I am trying to receive messages from an HTML viewer control in compact.net (c#),...
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
5
by: Adrian Parker | last post by:
I've got the standard SqlCacheDependency working just fine , ie. I've defined (and encrypted) the connectionStrings section in the web.config, and I've also defined an an sqlCacheDependency in the...
2
by: Gerry | last post by:
I have a combo box and I can populate it with my class of dat (the class allows me to store each userid,username called - see code below I want the user to select the dropdown and see the...
2
by: Raj | last post by:
Hi, I have the following problem. I am displaying and printing a PDF file that is generated by my Application server. The print dialogs comes up correctly for the small PDF for the larger PDFs...
8
by: MLH | last post by:
130 Targets(0) = "smtp:CRCI@NorthState.net" 135 MySubject = "Some relevant subject" 140 MyBodyText = "Blah, blah, blah" 150 Call SendMailWithOE(MySubject, MyBodyText, Targets) ...
2
by: bambi | last post by:
I tried sending an E-mail using the MAPISendMail. The mail sits/lies in my outbox as unsent. Then I have to open the E-mail in the outbox, double-click the recipient in the 'TO' box and change the...
3
by: danp | last post by:
Hi, I am doing an application that among other functions sends emails with Microsoft Outlook using the MAPISendMail API call. I have two problems : First, I would like to change the email...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.