Solved

MapiSendDocuments

Posted on 2001-07-10
5
569 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA open file from excel cell 4 44
Best way to parse out a json string in VB6? 10 223
passing parameter in sql procedure 9 65
Protecting vb6 & .Net code Obfuscation 18 152
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

829 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