Solved

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

Posted on 2009-05-12
5
348 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
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: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

19 Experts available now in Live!

Get 1:1 Help Now