|
by: Adam Kinney |
last post by:
I have an ASP application that logs into Exchange server to send email. The
code looks like this:
Set objSession = CreateObject("MAPI.Session")
objSession.Logon "profileName"
strMsg = ".."
Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = "Customer Comment"
objMessage.Text = strMsg
|
by: Kurt |
last post by:
Hi
I am using CDO 1.21 from C# in order to iterate through the entries in a users outlook address book (as OOM was too slow). Basically I take the Name field from each "message" and insert it into a ListBox. I shall paste my code at the end, and describe my problem first
If I call my MAPI.Sessions Logoff method when I have finished using it, then this method takes between 1 and 5 minutes to execute, but after that everything is fine
If...
|
by: Sandy Beach |
last post by:
Hi,
I have an app, written in c#, that checks an email inbox (using
cdo/mapi) and does some processing.
I've written a function "WriteToLogFile (string text, bool onConsole)"
that checks whether the logfile exists (creates it if not), appends
the text to the file, closes the file and displays it on the console,
if required. It uses StreamWriter to accomplish this.
|
by: Jay McGrath |
last post by:
Help - trying to send a simple text email with with as little user
intervention.
I am trying to create a button in my Access application that will
automatically send a simple text email. It works except that I have
two warning nuisances:
1) Program is trying to access email Addresses you have stored in
Outlook. Allow access for ...
2) A program is trying to automatically send email on your behalf ...
Heck, I am only trying to a send...
|
by: Ottar |
last post by:
I've made a program sorting incomming mail in public folder.
The function runs every minute by using the form.timer event.
In Access XP it runs for weeks, no problem. Access 2003 runs the same
code for 6 hours and stops.
I've found the problem to be the Set MySession =
CreateObject("MAPI.Session")
|
|
by: Gerry |
last post by:
I am writing a program in C# which accesses data from Exchange. Code
snippets have been copied from a VB-program.
The VB-program does the following:
'create session and logon
objSession = CreateObject("MAPI.Session")
After this, everyhing works fine.
|
by: Grahame |
last post by:
Hi,
I have an app, written in c#, that checks an email inbox (using
cdo/mapi) and does some processing.
I've written a function "WriteToLogFile (string text, bool onConsole)"
that checks whether the logfile exists (creates it if not), appends
the text to the file, closes the file and displays it on the console,
if required. It uses StreamWriter to accomplish this.
|
by: Pat Sinnott |
last post by:
Hi,
I am attempting to create a mapi session with an ASP.net
page with the following code:
Dim oSess As New MAPI.Session()
oSess.Logon("MS Exchange Settings")
|
by: Kevin Quigley |
last post by:
Hi,
I have a web page that will send emails to various addresses, I've tried
using the SmtpMail class but no matter what I try it will not work.
I have an asp page that does actually work using mapi.session...
<%
Const cStrServer = "sciehex01"
Const cStrMailbox = "weeklyreportuser"
|
by: PhilHip |
last post by:
I've written a Windows service in VB.Net that accesses the global address
list to obtain all the entries to store them in a local database. The GAL is
accessed using the MS Exchange profile on the current machine. The service
then creates a new MAPI session and then attempts to log on to the session
using the current MS Exchange profile on the machine. Here is the section of
code that is erroring:
Dim oSession As MAPI.Session...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|