Solved

access lotus notes email from an IIS web application

Posted on 2003-12-08
3
393 Views
Last Modified: 2013-12-18
I want to send an email from an IIS web application to my internal lotus notes email system.  I think there is a com object available, but I'm not sure and I'm not sure how it works, has anyone does this and have that info.  Thanks, Bostonrose
0
Comment
Question by:Bostonrose
  • 2
3 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9896623
Multiple ways to do this...

Connect via SMTP

Load/configure a Notes client, Outlook, and the MS Outlook/Notes connector, then use MAPI

Load Outlook, iNotes for Outllok access, then use MAPI

Load/configure the Notes client then use the Notes COM interface
0
 

Author Comment

by:Bostonrose
ID: 9896844
I guess I wasn't clear about what I want to do.  and I don't know anything about Lotus Notes so I need specifics on that if you have an idea.  I have a web application running with IIS 5 and I do not want to open up the SMTP web service for that IIS, but I want to send an email message.  In our shop we have Lotus Notes for email, so I need to know how under asp in my web page I can configure to send email information to the Lotus Notes server that is inside our firewall so that it will do what it needs to do to send out the email either internal or external.  Someone suggested that there is an asp "Com" object that can be used, but I'm not familiar with it or it's use, so I was looking for info on that.  Thanks, Bostonrose
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 250 total points
ID: 9896933
I did not mean to say that you need to open up the SMTP service on IIS. I meant, you can make use of the SMTP ***access*** features which allow you to use an external SMTP service.  Domino will be the SMTP service, and yo just use it to send SMTP mail (which can ultimately go to either the nternetor internal Notes users)

Any of the other optiosn will require the installation of a Notes client, with its own Notes ID and password.  Then, you can use either one of the two MAPI-to-Notes options (and send via the MAPI interface), or you can use teh DOmino COM objects.

Here's some code to use DOmino COM objects:

Dim s as New NotesSession
s.Initialize( "notes password" )
Dim dbDir as notesDbDirectory
Set dbDir = s.getDbDirectory("")
Dim mail as notesDatabase
Set mail = dbDir.OpenMailDatabase
If Not mail.IsOpen Then
  mail.Open("","")
End If
If Not mail.IsOpen Then
  'error handling
  'Exit Sub
End If
Dim message as notesDocument
Set message = mail.createDocument
message.replaceItemValue "Form" , "Memo"
message.replaceItemValue "SendTo" , "some message recipient - internal - or user@internet.com"
message.replaceItemValue "Subject" , "Message summary/heading"
message.replaceItemValue "Body" , "Plain text main message - using rich text is more complicated"
message.Send False 'False means do not use an esoteric formatting option, which would not work here
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Lotus notes forward mail problem 5 383
How to add a username for multiple users in Lotus 6 104
Lotus Notes 8.5 1 140
Lotus notes email code 2 119
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now