Mail-In Databases and Delivery Failures not appearing

I have seen posts on this issue, however, none have given me the answer I was looking for.

Here are some I looked at:

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/0f13adac65098b6e85256d030046cca8?OpenDocument

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/3b6345de3faf880a85256eb90004d130?OpenDocument&Highlight=0,smtporiginator

I have an agent that sends an email to a group of users. If the user does not exist or there is a delivery failure, I want the Delivery Failure Report to go to a mail-in database.

I sign the agent with an ID that does NOT have a Person Document in the NAB/Directory, so it cannot return to the ID’s mail file. However, the mail file is a Mail-In Database and has a Mail-In Database document in the NAB/Directory.

The agent that sends the email has the following fields set, where the address in the Mail-In Database’s email address:

docMail.From = “mailName@mailDomain.com

docMail.Principal = “mailName@mailDomain.com

docMail.ReplyTo = “mailName@mailDomain.com

docMail.SMTPOriginator = “mailName@mailDomain.com

I thought the SMTPOriginator would do the trick but the Delivery Failure Report does not make it to the mail-in database.

In the mail file (mail-in database) itself, I created a new view based on the $Inbox design. “Show response documents in a hierarchy” is NOT checked. My selection formula is SELECT @All.

I have tried adding a column to “Show Responses Only,” but I still cannot see these Delivery Failures.

I have changed the above email address to my email address, hoping to have the Delivery Failure return to my mailbox, but they haven’t. I created the same view as above and cannot find these documents.

I checked all the mail.box databases on the different servers and cannot find these documents in there either.

Any ideas?

Thanks!

Dan

Subject: Mail-In Databases and Delivery Failures not appearing

Dan,

Try adding this statement to your code:

docMail.INetFrom = “mailName@mailDomain.com

I have found that if I need to manipulate the FROM address so it appears as if it comes from another ID, writing the message directly to mail.box works best. Last I heard, writing directly to mail.box was not supported by IBM, though.

-Trey

Subject: RE: Mail-In Databases and Delivery Failures not appearing

I added this code, but it changed the value to my internet address - it did not keep the value I set it to.

I don’t have the ability to write to the mail.box.

Thanks for the help!

Dan