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)This mail will deliver to the outgoing mail on local as normal. However, it doesn't send to the home server; it just keeps it there on local.
Can you suggest how to replicate outgoing mail (i.e., mail.box) on local with home server, or how to trigger the replication tag and press the "start" button in order to send mail out?
Click the "mail" tab. If it says "on server," your method will not work. If it says "local," the mail should be routed automatically when the limit specified in "transfer outgoing mail if" has been reached, thus eliminating the need to force a replication.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Lotus Notes Domino Mailbox Management
Related Q&A from Jens Bruntt
Web Development expert Jens Bruntt offers suggestions on how to programmatically copy and hide attachments in Lotus Notes rich-text fields. Continue Reading
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client. Continue Reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.