Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > programmatically send email without cdo or mapi
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 30th March 05:19
cehupper
External User
 
Posts: 1
Default programmatically send email without cdo or mapi



Hi, I want to send an email from a computer, that has outlook, not
exchange. Through the exchange server of my choice.

I want to use whatever the native exchange mail transfer is. ( what
is this? )
I can use cdo and specify an smtp server, but I don't want to use
SMTP.
I can use mapi, but I don't want to be dependent on the profile, and
the "home" server in it.

Does anyone know if this is possible? What API do I use?

Thanks!
  Reply With Quote


  sponsored links


2 30th March 05:19
dan mitchell
External User
 
Posts: 1
Default programmatically send email without cdo or mapi



If:

you know the name of the exchange server you want to use

and you know the name of a mailbox on that server

and you also know that the logged in user that's sending mail has access
to that mailbox,

and the server is guaranteed to be accessible from where your code is
running,

then you can build a profile at runtime, log into that one, send mail
from there, then log out of the profile and clean it up. See KB Q170225
for how to build a profile from code, sending mail you just use
simple/extended MAPI as you prefer.

-- dan
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666