Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

access lotus notes email from an IIS web application

Posted on 2003-12-08
3
Medium Priority
?
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 750 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

636 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