Solved

Send Email in C#/C++

Posted on 2006-07-11
8
502 Views
Last Modified: 2013-12-18
I've been trying to send an email through Lotus Notes from C#/C++ but I haven't been able to get it working. I was wondering if anyone has any links or knows how could give some basic code for this. Thanks.
0
Comment
Question by:nigelboyle
[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
  • 4
  • 2
  • 2
8 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 17080629
Have you checked the C API redbook from IBM. It should have plenty of samples.

I would start here

http://www-128.ibm.com/developerworks/views/lotus/library.jsp

I hope this helps !
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 17080656
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 125 total points
ID: 17080842
http:Q_20447513.html "C#: Sending email through Lotus Notes in C# code" ??
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:nigelboyle
ID: 17081638
sjef_bosman, that seems to work fine except for the send option at the end. (This is in Visual C++ .NET 2005, I converted the code) The second parameter of the function send is supposedly optional, but I can't seem to find anything that will send through nothing/null. I probably haven't included the right headers or something. Do any of you have any ideas? I'll post in the C++ .NET if nothing comes up about this.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 17082844
According to
    http://www-12.lotus.com/ldd/doc/tools/cplus/2.3/lncpp23.nsf
the Send-function has but one parameter: whether or not to include the form. Set it to false or 0.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 17082849
Function?? Method... Did I betray my C background?
0
 

Author Comment

by:nigelboyle
ID: 17100477
I guess the function thing was my fault, lol. I haven't actually been using the C++ API but the domino dll that's registered in COM. I think it'd probably be better to use the C++ API, but I'm having a compiling problem with it (I've followed the instructions properly, I think). I get Error: No Platform Specified. Do you know anything about this?
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 17100617
I s'pose you have to tell your compiler for what platform you're developing. But how??? Don't ask me.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 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