Showing posts with label Development. Show all posts
Showing posts with label Development. Show all posts

Wednesday, January 9, 2008

Sametime in an Active Directory and Exchange environment.

This is for Sametime 8.0 on Domino 8.0 pointing to AD for authentication with an Exchange server.

When trying to get the meeting notifications to work, I initially recieved this error:
Dead Failure Reason:User Sametime Development/Lotus Notes Companion Products (Sametime Development/Lotus Notes Companion Products@Domain) not listed in Domino Directory


After enabling smtpclientdebug=1, I was seeing that the error was actually similar to this: Meeting notification email to moderator

Specifically, the error is: SMTPClient: Error parsing from address

The key part of this error is that it's an error parsing from address. To make a long story short, I ended up having to open STConf.nsf in Domino Designer, then opening the the "sendnotification email" script library. In the sub used for notifications, I had to modify what was being used for the sender's address.

One note is that you should create a Sametime Admin account on the Domino server as well as on the Exchange server. In Exchange, you could create a Sametime Admin group to receive the replies if you would like. Here's what I changed to not only solve the issue above, but to also make the Outlook Client display a name in the Inbox folder.

Look for the following If loop and replace it with the following code down to the line that is: Set header = body.CreateHeader("Sender")

If (sendEmailFrom = "") Then
'sendEmailFrom = meetingDoc.STCreator(0)
sendEmailFrom = "sametime.admin@exchangedomain.com"
End If

' The following three are the best way to ensure that the client renders the
' sender's address correctly. When modifying the principal field, Domino must
' be able to resolve the address in the local directory (from my understanding and
' prior troubleshooting).
doc.From = "Sametime Admin"
doc.Principal = "Sametime Admin"
doc.replyto = "Sametime Admin"
' You can just use the internet address for the following sender fields.
doc.SendFrom = sendEmailFrom
doc.DisplaySent = sendEmailFrom
doc.AltFrom = sendEmailFrom
doc.INetFrom = sendEmailFrom
doc.tmpDisplayFrom_Preview = sendEmailFrom
doc.tmpDisplayFrom_NoLogo = sendEmailFrom
doc.tmpDisplaySentBy = sendEmailFrom

Tuesday, May 8, 2007

Updated Sandbox Application

One of the first applications I downloaded from the Sandbox was the "Staff Whereabouts". It's basically an in-out board to see the status of a workgroup. We actually got the application to replace an AS/400 based! signout application. I have commented at the sandbox that I have reworked the ui and have web-enabled the application. I actually web-enabled it a while back. We only have one or two people that may use it on the web, so not much time was invested in it (it's mostly if you need to signout in a pinch). But about a month ago I completed changed the colors of the ui. It could stand for a complete overhaul, so forgive me if it still looks like a Notes application. :)

Here's what it looks like now:



If anyone's interested, post a comment. I don't want to link directly from here since it's not really my application.

Friday, March 2, 2007

I'm going to THE VIEW Lotus Developer 2007

Who out there is going or speaking? I hope to meet up with some of you! I've never been to this conference, but I've been told that it's really great and I need a good kick in the dev... I've never been to Boston, either. That should be fun too! I'll be flying up on that Sunday afternoon.

Let me know if you're going!