Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Extended MAPI SendEMail Help

Posted on 2003-11-10
6
Medium Priority
?
343 Views
Last Modified: 2010-04-05
Hi,
I've been using SimpleMAPI for auto emailing with Outlook in my application, but we have move to outlookXP. Now those darn security messages come up when you try and send an email via Simple MAPI.

I have looked into third party solutions (including MSExchange disabling the warning), but prefer to use Extended MAPI. There is a set of tutorial notes and code on the web, but I have to pay like $100 AU to get a copy of those notes and can't afford it and I don't have the time to learn all that anymore.

At the moment I have worked out how to log on and off Exchange using ExMAPI, with a global object called Session : IMAPISession;

What I now need is a function that uses Extended MAPI as followed or similar.

type
  TEmail = record
       SenderName   : String;
       SenderEmail    : String;
       
       Recipients       : TStringList;
       CC                  : TStringList;
       BCC                : TStringList;
       
       Subject           : String;
       Body               : TStringList;
       Attachments    : TStringList;
       
       HTMLBody       : Boolean;
  end;

SendEmail(  Session             : IMAPISession,  //needed ??? I'm using it globally
                  anEmail             : TEmail,           //an email record
                  AutoSend           : boolean,         //auto send or display preview
                  DeleteAfterSend : boolean,          //delete msg after send
                  Encrypt              : boolean,          //encrypt the email
                  DigitalSign         : boolean)          //dig sign email


I know this sounds hard, but I got it all working under SimpleMAPI, the encryption, signin and delete after send.  

I offering 500 Points as this is a hard question - well for me anyway. If no one can answer the question fully I will award the points to who ever gets the closest, as long as (anEmail, autoSend) parts are answered.
                   
Thanks for peoples help

Kane




0
Comment
Question by:liykh001
[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
6 Comments
 
LVL 26

Expert Comment

by:EddieShipman
ID: 9737256
Check out Dmitry Streblechenko's Outlook redemption at: http://www.dimastr.com/redemption/
0
 

Author Comment

by:liykh001
ID: 9737272
Yeah, Thanks,


I have looked at it before, but I'm trying to avoid relying on third party components. I would like to see and use Extended MAPI API.
0
 

Author Comment

by:liykh001
ID: 9744413
OPPS - Yeah, Thanks, Doesnt mean problem has been answered

STILL NEED HELP PLEASE.....
0
 

Expert Comment

by:FAYSIT
ID: 10267153
DOESNT ANYBODY KNOW ?????

HELP PLEASE!!!!!!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12761703
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

609 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