473,480 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can I use MAPISendMail to write email to OE's Outbox folder rather than actually attempting the SEND?

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?
Sep 25 '06 #1
8 2114
be bold. Try it.

Sep 25 '06 #2
Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?
Where the f__k do you think the code came from in the first place? Did
you steal it second or third hand, maybe?

Sep 25 '06 #3

Lyle Fairfield wrote:
Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?

Where the f__k do you think the code came from in the first place? Did
you steal it second or third hand, maybe?
IIRC, _you_ posted that code, Lyle. Or was it your evil twin?

Sep 25 '06 #4
<pi********@hotmail.comwrote
IIRC, _you_ posted that code, Lyle.
Or was it your evil twin?
Wait a minute! I thought Kyle was the _good_ twin. :-)

Larry


Sep 25 '06 #5

Lyle Fairfield wrote:
Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?

Where the f__k do you think the code came from in the first place? Did
you steal it second or third hand, maybe?
So you mean MLH actually IS aware of the great search features in the
NG? Wow. I found your code using CDO with one search. Wow. Must be
I know how to type... either that or I hunt and peck with the best of
them... it just baffles me that someone would get into coding and not
do any research or testing for himself. How else do you learn? I must
be just dumber than a box of rocks, but I can only learn by trying it
myself and screwing it up until the lights go on and I get it right.

Maybe it's time to consider a new line of work...

Sep 26 '06 #6

<pi********@hotmail.comschreef in bericht news:11**********************@i42g2000cwa.googlegr oups.com...

Lyle Fairfield wrote:
Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?

Where the f__k do you think the code came from in the first place? Did
you steal it second or third hand, maybe?
So you mean MLH actually IS aware of the great search features in the
NG? Wow. I found your code using CDO with one search. Wow. Must be
I know how to type... either that or I hunt and peck with the best of
them... it just baffles me that someone would get into coding and not
do any research or testing for himself. How else do you learn? I must
be just dumber than a box of rocks, but I can only learn by trying it
myself and screwing it up until the lights go on and I get it right.

Maybe it's time to consider a new line of work...
He claims he likes fishing...
You know the saying: "Don't continue to feed them, learn them to fish..."

So I was wondering if MLH is actually 'doing' his fishing himself ??

Arno R

Sep 26 '06 #7
MLH
Haven't a clue where to look for
HELP on the syntax that would
direct MAPI to compose & post
for sending in an off-line emulation
mode.
Sep 27 '06 #8
MLH
On 25 Sep 2006 12:30:07 -0700, "Lyle Fairfield"
<ly***********@aim.comwrote:
>Am unsure if the MAPI interface supports my objective. Was
wondering if anyone in this NG has dabbled?

Where the f__k do you think the code came from in the first place? Did
you steal it second or third hand, maybe?
I don't know "Where the f__k do you think the code came from" but I
know "Where the f__k" I got it.
Sep 27 '06 #9

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

Similar topics

1
5147
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...
0
3670
by: David Burson | last post by:
Hi, I have a VB.NET windows app that needs to automatically send a simple text email when my users run a new version of the app for the first time. I thought this would be simple, but after...
2
4291
by: Steve | last post by:
How do you programatically save files that are attached to an email to a specified folder? It could be one file or multiple files attached to the email. Can it be done if Outlook Express is being...
2
2164
by: Jeti [work] | last post by:
....and send it immediatley? My goal is to send mail, and in the same time save a copy in a "Sent Items" folder... Or if sending fails - to put that mail into "Outbox" folder... Any...
3
2927
by: Max | last post by:
When you send an email programatically throgh Microsoft Outlook it goes into the Outbox and stays there. I have an application that opens the email window and allows the user to type a message and...
3
5396
by: Frank | last post by:
I am attempting to develop a solution where I handle bounced e-mails. I wish to field all bounced emails in a custom email account such a bounced@mycompany.com From the aricle at...
1
2094
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
2852
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...
0
980
by: =?Utf-8?B?Q2hhdGVsYWluZQ==?= | last post by:
My system is XP Home Edition SP2. I don't know the version of OE 6 that I have currently, but I receive automatic updates, the most recent OE 6 update about a week ago. Tonight, I tried to send...
0
6904
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...
1
6732
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6886
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
5324
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4768
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4472
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
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...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.