Domino 9 und frühere Versionen > ND6: Entwicklung
Mail erstellen über externes Programm
(1/1)
pippo:
Hallo,
hat da jemand bitte ein fertiges Beispiel?
Grüße, Pippo
Mandalor:
:-:
Sorry, aber ich verstehe nicht was du willst!?
Willst du in einer Datenbank eine Mail abschicken oder soll die ein anderen Programm machen (Ein Delphi Prog zum Beispiel)
pippo:
Hallo,
möchte das von Delphi aus machen.
Der User sollte wie in Notes "Neues Memo" erhalten.
Liebe Grüße, Pippo
m3:
--- Zitat von: pippo am 06.06.05 - 17:50:08 ---Mail erstellen über externes Programm
Hallo,
hat da jemand bitte ein fertiges Beispiel?
Grüße, Pippo
--- Ende Zitat ---
--- Code: ---use strict;
use Win32::OLE;
my $Notes = Win32::OLE-> new('Notes.NotesSession')
or die "Cannot start Lotus Notes Session object\n";
my $Database = $Notes-> GetDatabase('', '');
$Database-> OpenMail;
my $Document = $Database-> CreateDocument;
$Document-> {Form} = 'Memo';
$Document-> {SendTo} = ['Peter', 'Paul', 'Mary'];
$Document-> {Subject} = 'This is a new subject';
$Document-> {Body} = 'This is the message';
$Document-> Send(0);
--- Ende Code ---
Siehe auch http://www.lotus.com/products/lotusscript.nsf
Mandalor:
sie mal bei
http://www.dsdt.info/
nach, da habe ich alles her was ich damals über Delphi gelernt habe (lang ist's her) da gabe es auch Beispiele über eMails
Navigation
[0] Themen-Index
Zur normalen Ansicht wechseln