Solved

access lotus notes email from an IIS web application

Posted on 2003-12-08
3
394 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Work Space in Lotus Notes cannot found 6 169
IBM Domino web server 5 63
NT Kernel & System Process CPU Usage Maxin out 8 56
IBM Lotus Notes Rules not working 5 159
For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

785 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