473,729 Members | 2,149 Online
Bytes | Software Development & Data Engineering Community
+ 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**@Nort hState.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.dl l" ( _
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 2126
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********@hot mail.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********@hot mail.comschreef in bericht news:11******** **************@ i42g2000cwa.goo glegroups.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
5163
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 recipient, with one file attachment. Any help much appreciated!
0
3704
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 days of reading posts and testing, I see it is not - unless I'm missing something? I'm not an email guru. All of my users will be running at least Windows 2000, most on XP sp2. Some of my users will have Outlook, many will be using Outlook...
2
4310
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 used or does Outlook have to be used? Thanks for all help! Steve
2
2180
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 suggestions? OE APIs? thank you...
3
2938
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 then hit the Send button. After that the window closes but the message isn't sent like in Outlook Express it goes into the Outbox folder. Is there a way to force Outlook to send the email in the Outbox folder? Cheers, Max
3
5410
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 http://www.systemwebmail.com/faq/2.7.aspx, I gather I could use: mail.Headers.Add( "Reply-To", "alternate_email@mycompany.com" ); When I test this from a test web app, I don't seem to field a bounced email
1
2108
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) 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" ( _
2
2861
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 E-mail option as "SMTP" from Internet, THen the mail goes off. What should I do in the coding to reflect this change. Please see the code belwo I am using /* Register the Windows OS function MAPISendMail(), callable as SendOneEMail */ ...
0
990
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 several file attachments with an email that were scanned Word files that had been converted to Photoshop files during the scanning process.. Once I realized that OE 6 only handles files, not folders, I sent 35 file attachments. What's happened is...
0
8913
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9280
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8144
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6016
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2162
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.