Solved

access lotus notes email from an IIS web application

Posted on 2003-12-08
3
392 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Encrypted Mail message in a NSF 10 24
Lotus Notes 8.5 1 137
Send a link through lotus notes automated mail 11 128
VBA Lotus notes 2 184
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

14 Experts available now in Live!

Get 1:1 Help Now