This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Sep 6, 2016, 2:07 PM
41 Posts

Change Sender email address of server based agent

  • Category: Mail
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator
  • Tags: Email
  • Replies: 5

Hello,

We have an automated server based agent that replies to new sales queries posted from the web.

At present, the email reply comes from the server email address i.e. server@domain.com.

We would like to change the sending mail address to come from noreply@domain.com

Short of rebuilding the server with the name "Noreply," does anyone know a way of modifying the sending name?

As part of the agent, I have tried hardcoding Principal, INetFrom, ReplyTo, From, SMTPOriginator, without success.

Many thanks

Sep 6, 2016, 2:58 PM
328 Posts
Run on Behalf of...

I have quite a few agents that run on schedule and send mails - what I did was to create a user named 'Automated Message/<mydomain>', add them to the ACL of the databases as well as the security section of the server docs, and finally to the 'Run on behalf of' field of my agents.

Then when the agent runs, it is sent from 'Automated message' - no confusion.

You could create a similar user (no Notes ID needed) and make the primary email address 'no.reply@xxxx.com'

Sep 6, 2016, 3:38 PM
41 Posts
Re: Run on Behalf of

Hi Mark,

I did try the method you suggest, but it still comes from the server and not the user "Noreply/Domain"

I have added the user Noreply to the ACL and to the security tab of the Server document.

Am I missing something ?

Thanks

Sep 6, 2016, 7:20 PM
328 Posts
On Behalf of...

In the agent itself, in the 'Security' section, you have to set 'Run on behalf of:'

Depending on what your agent is doing, you MAY have to set the Runtime security level - but if it's just sending mail I think you can start off by leaving it at 1. (Unless of course, you already have it set higher than 1!)

Sep 7, 2016, 9:39 AM
103 Posts
Run on Behalf of...

Run on Behalf of is the best way to go but make sure you have the corresponding person document in the Domino Directory or the router will not be able to look up the email address for the outbound email.

Alternatively, you can create the email directly in the mail.box and just save the document (don't use document.send) this way you have full control over the email fields.  The downside is that you will most likely need to fill in more fields and if it's going to received by a Notes client then you'll also need to add a DeliveredDate field or it will open in edit mode in the client.

Sep 7, 2016, 10:58 AM
41 Posts
Run on Behalf of...

I have found out why the "Run on behalf of " is not working. My agent is currently coded in Macro language and the option is not supported.

Hence, I will have to re-write it in Lotuscript.

Thanks for your assistance.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal