Solved

Problem: Composing a new Lotus notes email from C# windows application.

Posted on 2009-05-12
5
350 Views
Last Modified: 2013-12-18
Hi Im creating a new email like this in a C# app:System.Diagnostics.Process.Start("mailto:email@email.com?subject=" + subject + "&boby=Hello&body=" + FormatEmail());

But if the string that FomratEmail returns is too long its cut. Is there anyway to get arround this?
If not, can I do it in another way?

Great site.
/Thank you!
0
Comment
Question by:o3h
  • 3
  • 2
5 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24372287
0
 

Author Comment

by:o3h
ID: 24378223
Well Im not looking to use COMs, I just want to start a new "New email-message" window with receiver, body and subject pre-filled. I dont want to supply username or anything like that. The user will supply that when his Lotus Notes starts.

Thank you. Great site!
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 24380451
Let me answer your original questions first:

> Is there a way to get around the 256-character limit?
No.

> Can you do it in a different way?
Yes, see my previous post.

I understand what you want, but Notes doesn't. Sorry.

It seems that the limit is much higher in R8:
http://www.experts-exchange.com/Q_24213265.html
0
 

Author Comment

by:o3h
ID: 24382215
Ok thank you.
But, I have looked at the Lotus Domino Objects. Is there a way to just open a new mail window (prefilled) ?
I dont want authenticate the lotus user programatically.

Thank you again.
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 24382846
From the Designer Help database: The back-end Domino Objects have a Component Object Model (COM) interface. Which implies that there is no interface for the front-end. Sorry.

You don't necessarily have to authenticate the user, Notes will do that for you if you have a back-end COM solution. Open the Notes client, go to File/Security/User Security, type the password, you'll see the Security Basics settings. There you can select "Don't prompt for a password...". When you run your program that interfaces with Notes, you won't have to login. If Notes is already active, nothing happens. If Notes isn't active yet, it is started and it will automatically ask for the user's password.

So you can develop your own mail form if you want to, and send the mail through the Notes client.
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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Email attacks are the most efficient and effective way for cyber criminals and hackers to compromise a computer or network. We often find our-self second guessing the authenticity of an email message, for such instances we can follow practical princ…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

895 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

18 Experts available now in Live!

Get 1:1 Help Now