7/01/2013

Outgoing email from mail-in db

Today I hit a new issue when designing a mail-in database with 3 different mail address. The system needs to be designed so that the response mail goes out from the original email address but the user name needs to hidden from the recipient. The issue is that when a user replies from the front end the mail would go out using his/her email alias. If I create a back-end agent and overwrite the smtporginator, inet and principal  fields. It won't solve the problem. The recipient is still able to see the user name in the mail as sent by John  / Jane Doe.

So what can be done to overcome this problem?

The solution I found was to put a mailoptions and saveoptions fields on the Reply form. Set both to 0 string. The send button only saves the doc and puts it in a view. I created a scheduled agent which sets the delivereddate, inetfrom, principal, smtporginator and recipient fields. Then the agent simply copies this doc into the mail.box. Voila! The router is sending out the mail. 

What we have got is a solution that sends the mail without highlighting who the user is in the sender field.