Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

MapiSendDocuments

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
jadhaol
Asked:
jadhaol
1 Solution
 
marksynnottCommented:
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
 
glass_cookieCommented:
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
 
DanRollinsCommented:
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
 
ComTechCommented:
This question has been accepted by:

ComTech
Community Support Administrator  
Experts-Exchange  
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now