Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

send mail in Java

18 views
Skip to first unread message

Jess

unread,
May 31, 2004, 5:18:05 AM5/31/04
to
When i use the package of Notes Java API to compose a Java send mail
application, i face a problem that it can't send any mails via
outgoing mail (i.e. mail.box) on local PC. For details, please see
below.

Session s = NotesFactory.createSession();
Registration reg = s.createRegistration();
reg.switchToID(sender.id_file, sender.password);

//using user's mail files on local
Database db = s.getDatabase("",sender.usernsf);

Document memo = db.createDocument();
memo.replaceItemValue("Form", "Memo");
....
.... //input mandatory data for sending mails, for example, send to,
subject, content....
.....

memo.send(v_to);

//replicate with mail home server
db.replicate(sender.repserver)


Then, this mail will delivery to the outgoing mail on local as normal.
However, it doesn't send to home server and keeps it there.

Anybody can help or advise me how to replicate outgoing mail (i.e.
mail.box) on local with home server? or How to tigger the replication
tag and press the "start" button in order to send mail out.

Thanks in advance.
Jess

Neill

unread,
Jun 1, 2004, 9:55:14 AM6/1/04
to
"Jess" <ykl_j...@yahoo.com.hk> wrote in message
news:6e917d77.0405...@posting.google.com...

Have you checked the client mail settings? When you compose a new memo
locally, i.e. using a local mail file, and send it, what happens? Is the
database the user is accessing local or on a server?

I suppose it's possible to get a handle to the local "mail.box" using
getDatabase and use the "replicate" method of Database.

Neill
http://www.laneyconsulting.com

b.be...@yahoo.com

unread,
Dec 30, 2012, 7:46:15 AM12/30/12
to
I do not know,
I prepared the required file Rsnt.
Please tell me that the files should be created by hand(manually) or should I ArcGis preparation.
Protocol has been preparation to describe me.
Thank you
0 new messages