Any redistributables for sending a mail from my app ?
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Any redistributables for sending a mail from my app ?

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
Timothy Madden
Guest





Posted: Tue Jan 25, 2005 9:58 pm    Post subject: Any redistributables for sending a mail from my app ? Reply with quote

Hello

I need to send mail from my application (I use Visual C++ 6.0) and I
want to use Outlook/Exchange. Are there some files from Outlook/Exchange
or used by outlook that I could include in my application to get mail
sending functionality ?

For example JET engine used by Access is redistributable and I can
include it in my application.

I have read in MSDN that the CDO library was once redistributable from
Microsoft and that it is not anymore (quite strange...).

Can I find some redistributables from Microsoft to send mail from my
application ?
Can I send mail from an app without requiring a proper Outlook/Exchange
instalation on client's machine ?

Thank you
"Timothy Madden"
Romania

Back to top
Dan Mitchell
Guest





Posted: Tue Jan 25, 2005 10:28 pm    Post subject: Re: Any redistributables for sending a mail from my app ? Reply with quote

Timothy Madden <mrnopersonality@yahoo.com> wrote in news:35n8f7F4obl9kU1
@individual.net:
Quote:
Can I find some redistributables from Microsoft to send mail from my
application ?
Can I send mail from an app without requiring a proper
Outlook/Exchange
instalation on client's machine ?

If you want to use CDO1.21, no, you have to distribute something to get
Extended MAPI on there (because CDO1.21 is just an easier-to-use wrapper
for ExMAPI) and that's basically the problem you've hit, you need to
install Outlook,Exchange admin console, or some other application.

There's no redistributable either; even if CDO.DLL was distributable
(which it isn't, MS don't want to support it other than when it's
installed by Outlook so they know which version is which) then it would
still require something to get ExMAPI on the system.

If you can assume that the client PC will have some sort of mail app,
but you don't know which one, then you could try using Simple MAPI --
that'll let you send mail, and most mail clients implement that.

If you can't assume anything at all about the client PCs, then your
best bet is to use SMTP, which just requires a socket and the name of a
server to send it through -- there's tools like blat which will send
mail that way, or you could use an existing library to do it (there's
plenty of smtp components for sale), or you could use some source code
-- there's a lot of 'send mail' bits at (for instance)
http://www.codeguru.com/Cpp/I-N/internet/

-- dan
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB