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
Solved

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

Posted on 2009-05-12
5
357 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

861 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