MAPI.Profile Logon With ASP

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

Set objRecip = objMessage.Recipients.Add
objRecip.Name = SendTo
objRecip.Type = 1 'CdoTo
objRecip.Resolve

objMessage.Send 'showDialog:=False
objSession.Logoff

This code worked fine when the server was WinNT / Exchange 2000, now the
server has been upgraded to Windows 2003 and Exchange 2003.

Exchange Server is running on the same machine as IIS. And the error
appears to happen when the Logon is attempted.

Any ideas as to what may have changed in Windows 2003 or Exchange 2003?

View Replies


ADVERTISEMENT

How To Use MAPI In ASP

how to send e-mails in ASP using MAPI. I cannot use SMTP due to a technical reason in my network.

View Replies View Related

MAPI Question

I've never written a MAPI before so this is completely new to me. I was googling for MAPI tutorials and everything I found used a VB or .NET implementation.
Is it possible to create a MAPI that works in an ASP page?
I need to create a MAPI for Novell Groupwise that works in an ASP page that sends auto-generated email notifications.
I've normally used CDOSYS to do this, but the requirements call for using a MAPI.

View Replies View Related

Mapi Mail Using CC

I have a procedure that works fine. I need to add CC fileds to this email. Code:

View Replies View Related

MAPI Using VB Script

give me a sample code to send email by using MAPI control with VB Script.I am planning to use it in my ASP pages on the server side.

View Replies View Related

Eit Profile

I get this error
Code:

Microsoft JET Database Engine error '80040e14'

Syntax error (missing operator) in query expression 'ID = , 1'.

/editprofile.asp, line 111

View Replies View Related

Creating A New Profile

When creating a new profile, I want my ASP page to look at a Social Security Field that is being submitted and compare it to the database to see if that Social Security Number already exists. How can I do this? Can I create a filter in the database itselft?

View Replies View Related

Profile Page

guys i am working on a profile page where there is a dropdown liste that contains all the countries in the world.How can i get this liste of countries?

View Replies View Related

Users Profile

would it go something like: viewmember.asp?=ID

I want to make this a link to this users profile:
Code:

<%=(rsReply2.Fields.Item("rsCommentby").Value)%>

View Replies View Related

View Profile

after a member log in and he is redirected to the memberpage.as and there are a link to view his profile or details which is in the database in members table.

how can i view his details and he can make changes to it??? how many pages i have to do ? and the page which has his details should it be html with a form or should be asp page?

View Replies View Related

Show Pages Like In Yahoo Profile

I want my site to show profile of registered users. But it should be of this format, like www.abc.com/username. But I do not want to create folder for each users. I want to display the user profile from a database and populate it in a display page according to the profile name typed in the address bar, after the site name.

View Replies View Related

Show Pages Like In Yahoo Profile

I want my site to show profile of registered users. But it should be of this format, like www.abc.com/username. But I do not want to create folder for each users.

I want to display the user profile from a database and populate it in a display page according to the profile name typed in the address bar, after the site name. It should be something like in Yahoo Profile.

View Replies View Related

Logon

I require a utility in ASP which has to logon to another site, with my username and password and grab the content of thet page
any restriction will be there in the server preventing these type of access. how to authenticate ? will it work in the secure sites?

View Replies View Related

How Can I Get The Logon Name?

I'm using Basic Authentication for my web site - not great I know but I'm
having to support devices like the Nokia 9210i which dosn't seem to like the
digest information for windows domain servers.

The question is that I would like to be able to somehow capture that logon
username/id so that I can use it within the web site to track changes made
by the user.

I've thought about switching off authentication all together
and writing my own logon asp page (query to an SQL database or something and
then store the result in a session variable), but if I can somehow capture
and access the basic authentication information, it would save me some work.

View Replies View Related

ASP Logon Script

I have a working basic login script that processes an Access database to see if the username and password is correct then logs in if so and passes through to a members area.
However, what stops anyone from just downloading the database and opening it (altho the database can be passworded admittedly).Is there a way to make the database more secure, or to allow login from a more secure system?

View Replies View Related

Logon To IIS Site Via ASP

I'm using an online app made with asp which authenticates login with a MS Access Database and then redirects the user to a URL corresponding to the entry for the logon credentials in the database.

The url has anonymous browsing disabled, thus I need to pass a username and password to the iis server when the user is redirected to this site.

This process must be automatic and not visible to the client logging on.

Can this login info be passed to the iis server via ASP code, and if so can you help me with necessary code snippets ?

View Replies View Related

Windows Logon Name

I am setting up an intranet application and would like to get access to the users windows network log on user name. I have turned on "windows authentication" for the
application. I was hoping to find it with the server variables, however the LOGON, AUTH and REMOTE users were blank.

I then created a WindowsIdentity object, the name I found there was MAC-WEBASPNET which is a generic user account name. What am I missing here?

View Replies View Related

LOGON Question

We are currently moving our site, while doing this we are now going to make people logon to our site (if your name is not in our IIS you can not get in), while doing that we are having another company keep our files on thier site (they maintain our files .)

The company is letting us copy thier logon code and paste it into one of our frames for our site so that it just looks part of our site. Is there a way that when they log on to our site that thier user names and passwords (same as our sites) for the other company will automaticlly go into the user name and password. Code:

View Replies View Related

How To Get NT Logon User Id

I am trying the following code to retrieve the user id of the NT logon user. Code:

View Replies View Related

Logon To IIS Using Apple OSX And Safari

How do I login to a website on a IIS-server, with a Active Directory account, from a Apple OSX Safari browser?

View Replies View Related

Logon With Local Accounts

i am developing an intranet area where my boss says he wants the logon to be related to the local accounts,if no local account exist then they will be refused access, i am a little lost with this.

View Replies View Related

I Need Code For Last Logon Date

i need code for the last logon date of the user which will display on his page when he log's in to his account page.

View Replies View Related

Getting Users Windows Logon Details

I am looking into creating a intranet at work which will do a number of things including forums etc but one thing that i would like to do i dont know if it is possible or not.

When a user signs into their workstation it will launch the intranet, no problem, then i want it to log them in as the user id they logged into the workstation as. Is there any way of getting this information???

View Replies View Related

Logon Field Embedded In Web Page

I have a logon field including user name and password, which is stored to an access DB. Many websites have a logon and password field integrated into the page. I want the field to always be there.

When successfully logged on, the user will have access to other pages that I designate.

I have a complete web page and I want to stick the code from the working logon field, etc in the page w/o redesigning it around the existing logon.asp page.

I am asking if this is something I can do with the skills that I currently possess? Remember, I'm a novice .asp programmer, but an experienced web designed. We're working on the "dynamic" in web page design.

View Replies View Related

Using CDONTS To Logon The IIS SMTP Server

Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.

View Replies View Related

Crystal Report Logon Call

i having a problem on open crystal report version 8.5 or 9, when my ASP program call the report using VBSCRIPT coding?, can i have source code to call the crystal report logon ?

----error : server has not yet been opened.

any solution for above error ?

View Replies View Related

Inserting Data When User Logon

I am inserting data into Access when user logs on:
..............
SQL = "INSERT INTO tblLog (fldUserName,fldTimeIn,fldSID) VALUES ('" & u & "',#" & session("Date") & "#,'" & session.SessionID & "')"
con.Execute(SQL)
.....................
in here it inserts the date :01/09/2003

But when logging out :
.............
SQL="UPDATE tblLog SET fldOffline=1,fldProper=1 WHERE fldUserName= '" & session("admin") & "' AND fldTimeIn=#" & session("date") & "# AND fldOffline=0"
con.execute(SQL)
...............
it doesn't update the record.If I eliminate the date query here,it updates there is no syntax error is there?

View Replies View Related

Logon Field Integrated In Larger Webpage

I have a logon field including user name and password, which is stored to an access DB. Many websites have a logon and password field integrated into the page.

I have a complete web page and I want to stick the code from the working logon field, etc in the page w/o redesigning it around the existing logon.asp page.

I am asking if this is something I can do with the skills that I currently possess? Remember, I'm a novice .asp programmer, but an experienced web designed. We're working on the "dynamic" in web page design.

View Replies View Related

Active Directory :: Get The Current Logon (to AD) User Name

I need to get the current logon (to AD) user name on ASP level. Is there any ActiveX (ocx,dll) object in windows directory, which I can use? I used the nwdir.dll file to get this name from novell directory with ndap....

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved