Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Retrieving A Users Name From His Exchange Or Outlook Profile???????????


Is there a mapi call or api call I can use to retrieve the users name.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Retrieving Exchange User Profile
Does anyone know how to retrieve the user's profile from the Exchange Mail Server?

Thank you

How To Read Exchange Or Microsoft Outlook 97 Profile
Hi,

How could i read Microsoft Outlook Profile Names in a vb application .

Thanx
natraj

Sending Mail Thro' Exchange Server ( Without Outlook Profile)
Hi,

I have written a client-server application. Now i am planning to include email functionality in my
application. I was asked to add the functionality in the server side and the client should invoke a
function in the server to send the mail.

I thought i can do it with MAPI or CDO lib. But it seems both requires exchange server profile configured
in the server machine. All the sample codes written using MAPI/CDO uses a local profile to connect to
exchange server ( which is running in another machine ). SMTP is not secured. So, I cant use CDONTS
or SMTP or WINSOCK to send mails.

Is there a way to directly connect to the exchange server to send mail ( I was given a generic userid/password,
exchange server host name )? If you know a C++ or VB code which does this, please let me know.

Thanks,
Poochi..

Retrieving Mail Messages From Exchange (without Outlook Client)
Hi ,
i'm trying to find a way to get mail messages from Exchange server on a machine that doesn't have outlook installed.
i know that there are several protocols (POP3,MAPI...)
but couldn't find an example of how to use them ,
Thanks

Retrieving Mail From Exchange Server (without Outlook Client)
Hi ,
i'm trying to find a way to get mail messages from Exchange server on a machine that doesn't have outlook installed.
i know that there are several protocols (POP3,MAPI...)
but couldn't find an example of how to use them ,
Thanks



Edited by - elad on 8/28/2004 12:02:20 AM

Create An Exchange Mail Profile From VB
I'm trying to automate creating an Exchange Profile from a VB6 exe. Can anyone point me in the right direction or have some good documentation?

Thanks,
Jesse

Users Profile Path
Can someone assist me in creating a line of code that will get me to the users profile directory. In other words, if he is logged in as Administrator or Joeblogg, I need to get at that dirctory to do some file manipulation.

for ex........ this is part of a batch file

cd %userprofile%

rd "local settings emp"

Ive looked at the API "GetUserName", I think that might work if I use that as a variable and add a "" behind it with the appropriate sub folders but Im hoping for a better way.

thanks in advance

Adding An Attachment To My Email Via VB Plus Getting The Users Name From His Profile
I can send an email message from my app but how do I include a file attachment, plus what is the api call to get the users email address from his profile
settings?

Show All Users Who Have A Profile In NT And 2000 In A List Box
I want to create a List of users how have a profile in NT or 2000. Will I have to program it using the system registery or is there an easier way.

Get All Users Profile Dir Or User List In Win2k Or XP.
Hi !
I tried this code to get all users profile:
' Function API name : GetAllUsersProfileDirectory
' ----------------------------------------------------------------------------
Private Const TOKEN_QUERY = (&H8)
Private Declare Function GetAllUsersProfileDirectory Lib "userenv.dll" Alias "GetAllUsersProfileDirectoryA" (ByVal lpProfileDir As String, lpcchSize As Long) As Boolean
Private Declare Function GetDefaultUserProfileDirectory Lib "userenv.dll" Alias "GetDefaultUserProfileDirectoryA" (ByVal lpProfileDir As String, lpcchSize As Long) As Boolean
Private Declare Function GetProfilesDirectory Lib "userenv.dll" Alias "GetProfilesDirectoryA" (ByVal lpProfileDir As String, lpcchSize As Long) As Boolean
Private Declare Function GetUserProfileDirectory Lib "userenv.dll" Alias "GetUserProfileDirectoryA" (ByVal hToken As Long, ByVal lpProfileDir As String, lpcchSize As Long) As Boolean
Private Declare Function GetCurrentProcess Lib "kernel32" () As Long
Private Declare Function OpenProcessToken Lib "advapi32" (ByVal ProcessHandle As Long, ByVal DesiredAccess As Long, TokenHandle As Long) As Long
Private Sub Form_Load()
    'KPD-Team 2000
    'URL: http://www.allapi.net/
    'E-Mail: KPDTeam@allapi.net
    Dim sBuffer As String, Ret As Long, hToken As Long
    'set the graphics mode of this form to 'persistent'
    Me.AutoRedraw = True
    'create a string buffer
    sBuffer = String(255, 0)
    'retrieve the all users profile directory
    GetAllUsersProfileDirectory sBuffer, 255
    'show the result
    Me.Print StripTerminator(sBuffer)
    'create a string buffer
    sBuffer = String(255, 0)
    'retrieve the user profile directory
    GetDefaultUserProfileDirectory sBuffer, 255
    'show the result
    Me.Print StripTerminator(sBuffer)
    'create a string buffer
    sBuffer = String(255, 0)
    'retrieve the profiles directory
    GetProfilesDirectory sBuffer, 255
    'show the result
    Me.Print StripTerminator(sBuffer)
    'create a string buffer
    sBuffer = String(255, 0)
    'open the token of the current process
    OpenProcessToken GetCurrentProcess, TOKEN_QUERY, hToken
    'retrieve this users profile directory
    GetUserProfileDirectory hToken, sBuffer, 255
    'show the result
    Me.Print StripTerminator(sBuffer)
End Sub
'strips off the trailing Chr$(0)'s
Function StripTerminator(sInput As String) As String
    Dim ZeroPos As Long
    ZeroPos = InStr(1, sInput, Chr$(0))
    If ZeroPos > 0 Then
        StripTerminator = Left$(sInput, ZeroPos - 1)
    Else
        StripTerminator = sInput
    End If
End Function
'-------------------------------------------------------------------
but its not get all dir
please help me or tell me how to get all users list
thanks !!!

Exchange Users
Hello!

Is it possible to get the list of exchange users (exactly as they are in the outlook address book) with Visual Basic?

Thanks

Getting List Of Users In AD Or Exchange
Hi is there a way in which I can get a list of usernames from our AD or exchange server?

the application itself may not be running on the server.

thanks

Difficult: Sending Outlook Meeting Appointments To Outlook And Exchange
I've seen partially useful postings, but nothing clear enough to understand how to solve this problem.

Here's what I want to accomplish:
. my meeting application chooses a date and users (from a calendar and drop down list)
. the app then sends email to the list of people with the meeting info

When the outlook client receives the email they are prompted the normal way to add the meeting to their outlook. I don't want to rewrite exchange, just deliver mtg info.

Anyone with sample code or even a pointer to info on how I may solve this problem?

Thx!

Creating Users & Exchange Mailboxes
Does anyone know how to create domain users and Exchange mailboxes in vb? There must be some API functions.

Actually, right now I'm calling net.exe to do it, but I'd like to find a better way.

Thank you.

---
Nicolas LeBlanc
Product Manager
Ordiplan Inc.

Retrieving Calander Info From Exchange Server
I am interested in writing an app that will retrieve a user's information from the calander that lives on an exchange server.

App will know the following and be able to get all appointment and meeting data:
Exchange Server
Login
Password
Date to retrieve



Any Ideas?


Thanks,

MS Outlook - Which Profile Is Active?
Hi,

is it possible to determine which Outlook profile is currently active?
I know the reg key for default profile but i want to react on special profiles if selected...

thx

Stefan

Logon New Profile In Outlook
Send Email with changing Outlook Profiles:

I use MAPI.Session object and MAPI.Message object in order to send email with the option to change the from field by changing outlook profile.
In order to change Outlook Profile, I log with new profile. This operation is been done by MAPI.Session.logon function. This function receive ProfileName, ProfilePassword and ShowDialog parameters.
If ShowDialog is true, the user must enter profile name and profile password regardless ProfileName, ProfilePassword define in the logon function.
If ShowDialog is false, the logon been done by ProfileName, ProfilePassword.
In win32, there is a defect. The profilePassword parameter is ignored on all Win32 platforms.

I want to know if there is away to log to new profile without using ShowDialog=True in objSession.logon function. (I develop automatic application, without user interference)

example: objSession.Logon ProfileName:=name, ProfilePassword:=pass, ShowDialog:=False, NewSession:=True, nomail:=True

Note: I can't create smtp protocol, our company policy is : use written things (outlook), don't invent existing functionalty.

Outlook Profile Password
Greetings!

I have a problem with Outlook profile password. I have a PC with Outlook 2000 install on it and configure with different profile (already configure). I also use that PC to run scheduled process in the morning and want it to send me an email confirming the process.

I have the code that sent the email to work fine with one email account but because I use multiple profile, it ask me for the password.

This is my code:


Private Sub SendMail()
Dim objOutlook As Outlook.Application
Dim objOutlookName As Outlook.NameSpace
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim CallDescription As String

Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookName = objOutlook.GetNamespace("MAPI")
objOutlookName.Logoff
objOutlookName.Logon "user1", "user1", False, True

Set objOutlookMsg = objOutlook.CreateItem(olMailItem)


With objOutlookMsg
Set objOutlookRecip = .Recipients.Add("user2@company.com")
objOutlookRecip.Type = olTo

.Subject = "Updating completed successfully!"
.Body = "Great job. "
objOutlookRecip.Resolve
.Display
.Send
End With
objOutlookName.Logoff
Set objOutlook = Nothing
End Sub

With the ShowDisplay set to false I get this error message:

"Run-time error '-2044706811 (86204005)':
Cannot create e-mail message because a location to send and receive messages could not be found. To add a location, click the Tools menu, click Services, and then click the Delivery tab."

but if I set the ShowDisplay and enter the password manually, it works fine. I have also tried MAPI.

Does anyone have any ideal on how to fix this.

Your help is greatly appreciated.

Thanks,

Husky.

Retrieve Outlook Profile Name
I need to be able to get the name of the current profile name in
use by Outlook. For example if I have one profile called
"ProfileWork" and another called "ProfilePersonal" and I log into
Outlook using the "ProfilePersonal" profile, in one of my programs
I need to read a file which is created by the profile and named
from the profile name.

So if I dont know which profile (in case there are more than one
profiles for the user) is currently being used, I won't know which
file to open and my program data will be irrelevalent to the user's
profile.

I know its a long shot that someone may know, but it will really
help me.

Thanks in advance for any help or direction.

Setting Up Outlook Profile
Hello,
We are in the process of upgraded 10000 users from NT4 to W2k. Most of the user setup has been scripted for the techs. However, they still must configure Outlook manually for each user. Although it only takes a minute, x10000 users it is an added pain. It seems the profile info is stored in a .pip file which can't be accessed directly. I'm wondering if anyone knows a way to use maybe the MS dlls to modify the pip file. Thanks!
-C

Creating Outlook 97/98 Profile Thru VB?
How can I create a new Outlook 97/98 profile via VB. These computers have Outlook installed, may or may not have a profile already. I need to create a new profile. I will have the username, full name etc... I need it to be generic in the creation process. Thanks for any help

How To Get All The Profile Name From Microsoft Outlook?
Dear Members

In our project i have to get & show all the microsoft outlook profile names.
How to get all the profile name from Microsoft Outlook?

Thanks in advance
Rajesh

Outlook User Profile
Does anyone know What API I could use so that I could create an Outlook User profile
Programmaticly.

Any suggestions would be greatly appreciated.
tcompe

Adding A .pst File To An Outlook Profile
Does anyone know how to use VB or VBScript to add a .pst file to an Outlook profile? We are migrating thousands of users to a different Exchange system and I have most of what we need figured out but I haven't found a good way to tell Outlook where the .pst file is located. Has anyone ever done this sucessfully? I was hoping there would be a nice, neat registry entry but there doesn't seem to be.

Thanks,

Ken Franklin

Read/configure Outlook Profile
I think this question's been asked many a time before, but here goes...

We have Exchange Server 2000 and multiple Win 2K Pro PC's that access it. When I log into my computer I set up my Outlook's Microsoft Exchange Server profile through Control Panel/Mail, and when I start Outlook it goes right in. When someone else logs into my computer, they get the Setup wizard and they have to choose "Microsoft Exchange Server" and enter the server name.

Is there a way to write a program in VB that could execute with the NT login script, that would set up the user's profile? Thanks!

Selecting An Outlook User Profile
Hello World!

How can I programmaticaly select, a specific user profile when opening Outlook with automation, if the user has more than one?


Alternatice Outlook Profile Email From Excel
Hi Friends

I am using Microsoft Outlook 2000. I have SMTP Microsoft Exchange Server.

In my pc there are two profile has been created. One is belongs to me that is User1 and password test1, other one is common news letter that is User2 and password is test2. I want to send a mail at a particular time using user2 profile.
When I am sending mail in test time its asking a window to(a) start up profile and (b) asking to connect, offline or cancel. Then I say connect.. (c) it is asking password. so there are three steps are going.

Is there anyway to control the default setup through macro. Kindly help me in detail that I could use your knowledge..

thanks in advance..

Open Other Outlook Profile And Export Calendar
Hi all

I have developed a new system which uses information from a number of different people's outlook calendars. At the moment I am having to go into each profile and manually export their calendars into an individual excel spreadsheet for each of them.

This works fine apart from the fact that there are now 75 people taking part in this system which means a lot of manual opening and closing of different people's mailboxes. I have set up a profile for each person on my computer, so what I need if possible is the following:

A macro that will go into a new person's profile and export their calendar to excel, then close the profile.

Does anyone have any starting points for me on this one. I believe I can work through the calendar export but I am struggling with the code for opening different profiles and closing them again.

Any help would be much appreciated.

Brokovich

MAPI Send Mail .. Outlook Profile
Is there a way to make outlook use the default profile for outlook? RIght now i have it sending email using outlook but it prompts for a profile?

HELP


please email shaffer224@yahoo.com


thanks

Selecting Outlook Profile From Access Database
Hello there,

In my project, I need to generate reports from an access database and send
the emails by attaching the generated report.
To do this, I'm using docmd.sendobject method.

But, the outlook is prompting me to select the profile for each and every
email. I would like to select the profile for the first email and
subsequent emails should use the same profile. Can someone help me in this
regard?

Regards,
Krishnamohan

Creating An Outlook 97 User Profile Programmaticly
Can someone tell me how I could go about creating a Outlook User profile on a machine that has had Outlook just installed.

My objective is to place code in a vb logon script which would detected if a users has had outlook installed and indicate whether or not the Outlook user profile has been setup. I understand how to check for the existence of Outlook what I am looking for is what MAPI's are being called so that I can create the users profile programmaticly???


Any suggestions would be greatly appreciated

tcompe

Outlook Promts For Profile Over And Over And Won't Send Mail CODE >>>>
Outlook prompts me for the profile to use to send this simple email like it's looping or something.... can someone take a gander at this code and help me out please?

THANKS,

JUSTIN

Private Sub SendMail(strTo As String, strSub As String, strMsg As String)
       
    Dim olApp As Outlook.Application
    Dim olNS As NameSpace
    Dim olMessage As MailItem
     
    Set olApp = CreateObject("Outlook.Application")
    Set olNS = olApp.GetNamespace("MAPI")
      
    Set olMessage = olApp.CreateItem(olMailItem)
    olMessage.To = strTo
    olMessage.Subject = strSub
    olMessage.Body = strMsg
    olMessage.Send
      
    olApp.Quit
      
    Set olApp = Nothing
    Set olNS = Nothing
    Set olMessage = Nothing
     
    Dim strSendTo As String
    Dim strSubject As String
    Dim strMessage As String

strSendTo = "xtremewireless@cox.net" '<=CHANGE TO NEEDED ADDRESS
strSubject = "This is the subject line" '<=CHANGE AS NEEDED

'Construct the message you want to send, append the text in the text box to the end of a string, add a new line...
strMessage = "Reference Number: " & Text1.Text & vbNewLine
'add some more text to the message
strMessage = strMessage & "This is the rest of the message..." & vbNewLine

Call SendMail(strSendTo, strSubject, strMessage)
      
End Sub

Private Sub Command1_Click()
Call SendMail("xtremewireless@cox.net", "Test mail", "Test mail from VB using SendMail procedure")
End Sub

Outlook Automation, Profile/pst Problem I Think - TOTALLY Desperate
I am new to Visual Basic programming and in writing an application I have included an Outlook automation subroutine that updates the contacts folder with data from a VB form. How can I identify the user profile to which I want to save the contact, instead of always saving to the profile of the user currently logged on?

Any help with this would be greatly appreciated
Thanks

HIGH TECH HOMER.

Retrieving All Users In Room
My Network Chat Program is working really well, with one problem:

Getting a full list of users in the current room. Here is my current algorithm:

Public Sub Winsock1_DataArrival(...I forget the rest...)
Dim sData as string
Winsock1.getData sData
If Left(sData,12) = "/:SendMyName" then List1.additem mid(sdata,13)
End Sub

Public Sub Command1_Click()
Winsock1.senddata "/:SendMyName Grayda"
End Sub

Now, here are my winsock settings:

Socket: UDP Protocol
RemoteHost: 255.255.255.255
Local & Remote Port: 3155

In theory it works, but for some reason, it only adds the last user to enter the room. Any suggestions?

MAPI...Retrieving Another Users Info
Dear Gurus,

I need to retrieve another users EMail Address from their login (e.g.: dmadden).


Thanks in advance,

Dan

Retrieving NT Users&#039; Home Folder Path
Thanks Parksie; but that gets the users' profile folder not their home folder. Any ideas?

Cheers

Simon

[Edited by SimonPearce on 08-20-2000 at 05:38 PM]

Retrieving Folder List And Comparing Them With Users
Hello

I am a systems administrator working with Active Directory an Exchange. I am trying to create a windows program to get a lis user home drive folders and then compare these to activ directory users. If the user does no exist then the progra should move the directory to a different location.

I am new to programming and am trying to do this in visual studi 2005 with VB.

To get the users i do this:

Private Sub Go_Click(ByVal sender As System.Object, ByVal e A System.EventArgs) Handles Go.Click

'New instance of Directory Searcher Class
Dim searcher As New DirectorySearcher
Dim result As SearchResult

'Declare the Variables
Dim programFilter As String
Dim userFilter As String
Dim searcherFilter As String

'Define a value for the variables
programFilter = "(&(objectClass=User)"
userFilter = emailtofind.Text
searcherFilter = (programFilter & userFilter)

'Set the Search Filter
searcher.Filter = searcherFilter

'Search the results and collect
Dim results As SearchResultCollection
results = searcher.FindAll()

'Display the Results
For Each result In results
resultsBox.Items.Add(result.Properties("name" )(0))
Next

End Sub

This actually searches for an email address but can be easil modified.

Then this to list folders:
Private Sub folderSearch_Click(ByVal sender As System.Object ByVal e As System.EventArgs) Handles folderSearch.Click
Di directories(IO.Directory.GetDirectories(folderL ocation.Text).Legth) As String
directories =3 IO.Directory.GetDirectories(folderLocation.Te xt)

For i As Integer = 0 To directories.Length - 1
folderList.Items.Add(directories(i))
Next

End Sub
End Class

But putting both together is the issue here.
Any ideas
Thanks

Retrieving All Window Names On A Users' Desktop
Hi,

I'm currently trying to write some code which will enable me to get the window 'title bar' text for all open applications on a users desktop. I've tried using EnumDesktopWindows but this returns hidden & system windows as well as Word, Excel etc...

Does anyone know how to return just the application windows that the user can see. (i.e. Just the ones that are visible in the bottom windows bar) ??

Thanks
Sunil.

Outlook And Exchange
hey everyone, well, here's what i want to do, right now im
fixing a program...most of it is done, works great, but
anyway back to the problem...our LAN emails through MS
Exchange, and the program i am working on sends through
Outlook, (not outlook express, i dont know if there's a dif
or not but i just wanted to be specific). so in the program
it sends the outlook mailitem, but doesnt really check to
see if our Exchange server is up...i was wondering if anyone
out there could tell me how i can check our Exchange server
before sending and if it IS down, dont send, but wait a
period of time and try again... thanks a bunch

Pete

VB & Outlook/Exchange
Is there any way to use VB6 to check your own Exchange (Outlook) Calendar
for events or meetings?

Is there sample code anywhere? Suggestions?

Thanks!

Signing On To Outlook Exchange
is it possible to be able to use VB to sigh on to an Outlook Exchange server, supplying the username, password and the exchange server, I want to intergrate a small program into my set of tools that will automatically send me an email to other members of staff letting them know what's happening in the software, but as we use an exchange software and and needs to log on before sending any email it's seems impossible to do this unnattended

OutLook -&gt; Exchange Server
Dear All,


I am currently writing a Discharge Letter system for the Hospital I work in. The system e-mails various administrators depending on what problems arise. To do this I have tagged the Outlook 9 reference, and written a quick e-mail routine to send the messages.

My problem lies with our through-flow of junior doctors. They may travel from one ward to another and use a host of computers around the hospital. Therefore, they need to set-up their details (i.e. the server and user name) for their e-mail account on each PC. Thankfully, there is only one mail server. I want to take this technical tid-bit away from the user, however, and perform the linking automatically.

Can anyone point me in the right direction, please?


Thank-you all in advance,
Paul.

Microsoft Outlook / Exchange
Hi,

I would like to enable the OUT OF OFFICE feature in Outlook. The help guide says I need Exchange. When I go to Tools and look for the Out of Office Assistant I do not see it. So I went to Tools/Options/Other/Advanced/Add-In and saw the Exchange Extensions Property Page and below a description for Out of Office. This button is check and should show me the Out of Office assistant on the toolbar but does not. We have Office XP professional. Does this exchange feature come with it or no? I am guessing no but my boss thinks otherwise.

Any suggestions or comments will be greatly appreciated.

Thanks,
David

Connect To Exchange Via Outlook
Can anyone help me?

I am writing a program and I have to connect to an exchange server via Outlook with Visual Basic, but I haven't got a clue on how to do this.

Do you know how?

Outlook Exchange Settings
Hi,

I need to know if it's possible to write code that will automate a right click on the Outlook icon -> properties -> Email Accounts -> View or change existing email accounts -> next -> select the Microsoft Exchange server -> change settings -> and then alter the user and possibly the exchange server. Most users are on Outlook 2000/2002

I know it sounds like a lot of effort for such a token job but I think my IT helpdesk is getting a bit annoyed with users desk swapping and complaining about not having email access.

Many thanks

Matt

Outlook And Exchange Server
Hi Guys,
I have a some problems here now, I am developing an outlook 2000 calendar appication using Vb6 to calculate the work hours of the staff in my school as my final project.
The problem am having is that the textbook am using is always talking about COM ADD INs which I dont understand so much cos, even though I have the codes to calculate the hours worked, I dont know where to place them exactly.
I've designed and launched the forrms and folders already.
But since I need the COM ADD INs, I dont know whether to place the codes there or just behind the forms.
The application is such a way that the server side (exchange) is where the main file is stored as (standard), the user's at the client side just need to open their outlook application to get connected to the server's. Each user can only see his worked hours which is stored in the server and his client machine after he has logged in.
Also the server should also be able to store the files (balance) so that each user knows whether he or she has some hours missing or over done just by clicking the balance file.
Hope to get some advice on this, any suggestion will be highly appreciated.

Emailing Through Outlook/Exchange
Hi. I am trying to find information on how to email out of a VB app when I have Exchange as my mail server. I only have a old book on VB and they don't mention emailing. Any help?

MS Outlook And Exchange Server
Just a quick question to all your brainy people, We currently have an intermittent problem at work where somebody can send and Email from their PC, this then goes to the Exchange Server for our company, and for some reason it then continuosly repeats to send the email, so the client gets hundreds of emails.

Does anybody know why this would happen, or has heard of it before ?

Work is necessary for man. Man invented the alarm clock.

Automate Email - Exchange, Outlook
I would like to get some opinions and maybe a even little guidance, suggestions, etc. concerning my approach with regard to a project I am doing.

I am creating an application that will automatically email reports at periodic intervals.

The idea behind the application is as follows:

1. "Jobs" get stored in a database. (a "job" is all the information pertaining to a request.

i.e. Each instance of a job would capture the following:
Client#, contact, email, frequency, start date, expire date, active, report_type, etc..........

2. My application would kick-off at various times and check the database for jobs that are ready to be run.

3. The application would generate the appropriate report and create an email message, attach the report object to the message, and then send it.

I've created a prototype in Access that does this.

I started out using:
DoCmd.SendObject method.

DoCmd.SendObject acSendReport, stDocName, acFormatRTF, email_address, , , "Testing", "This is really a test", True

This did not work so I found a Microsoft solution to the problem which I just copied and pasted code .... designed to function closely or mimic the DoCmd.SendObject
BELOW IS A SNIP OF THE CODE:

Set clsSendObject = New accSendObject
clsSendObject.SendObject acSendReport, stDocName, accOutputRTF, _
email_address, , , "This is a test subject", "This is really a test", False

ou have a MAPI-compliant electronic mail application installed on your computer.
This works fine if the application is run on my desktop computer with a MAPI-compliant electronic mail application installed however, say I want to have the application execute on a server. Would I need to install Outlook on the server?

Can I bypass using Outlook (as well as the dialog box security that is show up because of Office 2000 SR security update)
and just use Exchange.....

I'm a bit confused as to how I can get my application to reside on on a server and talk to the exchange server ....

Does anyone have experience with this or suggestions....

Any help or suggestions would be MUCH APPRECIATED! Thanks.

Copyright © 2005-08 www.BigResource.com, All rights reserved