Send Mail from Java Software Application to Lotus Notes

Asked By 10 points N/A Posted on -
qa-featured

 

Hi to everyone,

I need help on how to send mail from java to lotus? A specific institution is asking an opinion or help on me about sending mails from a java software application through lotus notes software. How possible it is to perform this kind of sending emails from one software to another. I hope you can provide the best information needed.

Your suggestion is very much welcome.

 

SHARE
Answered By 0 points N/A #179780

Send Mail from Java Software Application to Lotus Notes

qa-featured

For sending mail from java to lotus, you have to use Document Object Model of Lotus Notes. There are two ways to connect to Lotus Domino from an external Server:

1.       Lotus Domino Cobra Interface using

2.       Local Connection

You will need a notes client on the box where external server is running. This PHP sample code will help you.

 <?php

$to = "[email protected]";

$subject = "TEST EMAIL";

$message = "Hello! Its is test email.";

$from = "[email protected]";

$headers = "From:" . $from . "rn";;

$headers .= "Content-Type: text/html";

mail($to,$subject,$message,$headers);

?>

Thank You

Login/Register to Answer

Related Questions