Solved

MapiSendDocuments

Posted on 2001-07-10
5
574 Views
Last Modified: 2007-12-19
Hi All,
can somebody help me with sample code to use MapiSendDocuments function of mapi32.dll in VB code. I want to send files as attachment through VB program.

thanking in advance

jadhaol
0
Comment
Question by:jadhaol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 20

Accepted Solution

by:
hes earned 100 total points
ID: 6269650
0
 

Expert Comment

by:marksynnott
ID: 6270036
Hi

I do this using the two MAPI controls that come with vb so its only a few lines of code to do it - The link above seems quite alot of code. If you want the code let me know.


0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6275948
Hi!

Here's 2 mail examples.

Download...
http://www.planetsourcecode.com/upload/ftp/CODE_UPLOAD3865382000.zip

Description: Write an e-mail client in no time! BuzMail is an 'overlay' to the MSMAPI controls provided with VB, in the form of a mail 'object' and various functions etc. It allows the user to send and receive e-mails with or without attachments without having to work out how to use the un-user friendly MSMAPI controls.


Download...
http://www.planetsourcecode.com/upload/ftp/CODE_UPLOAD3308292000.zip

Description:  
     This is a dynamic link library that sends and receives electronic mail from a MAPI compliant email client. It comes complete with error checking and multiple attachments

That's it!

glass cookie : )
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7153027
Hi jadhaol@idg,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept hes's comment(s) as an answer.

jadhaol@idg, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:ComTech
ID: 7182463
This question has been accepted by:

ComTech
Community Support Administrator  
Experts-Exchange  
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question