Solved

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

Posted on 2009-05-12
5
364 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
[X]
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
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error Receiving email 12 44
Set custom font WPF 2 21
create dataset from text files to go on winforms gridview 3 26
c#, case, if 4 19
Are you irritated by repeating emails issue in Microsoft Outlook 2016 after recent update ?  Lets’ see how to resolve and prevent duplicate emails in the Outlook 2016 using some simple techniques.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…

749 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