I have developed an agent that generates and sends an email to all the users within a particular group.
At present this email appears in the users inbox with my details in the from box of the email as I executed the agent.
Is it possible to change the content of the from field (from within the agent) so that users will think that this email has been sent by someone else - i.e. my superior.
I’d appreciate any help/advice that you may have on this matter, thanks in advance for your help.
David Ferguson
Subject: Email From Field
There are two possibilities. You can use the Principle field and assign it to the text you want the message to be from - but it will still show being sent by the signer of the agent. The other option is to create the mail document directly in the mail router database (is that right?). This will allow you to set all the fields to whatever values you want. You don’t “send” but simply save it. The act of saving the document will send the email.
Subject: RE: Email From Field
Principle is not support to work anymore. I send to use the mail router database option (otherwise known as mail.box). NOTE: This is an unsupport feature within the Domino server, but it does work.
Subject: RE: Email From Field
The Principle field (from what I understood) isn’t working anymore. I use the “mail router database” (otherwise known as mail.box) option.
NOTE: This is an unsupport feature within the Domino server though it comes in handy and works.
HTH
Subject: RE: Email From Field
The “Principle” field never worked, but the “Principal” field did, and still does.
See the Agent FAQ for details: http://www-10.lotus.com/ldd/46dom.nsf/7e6c7e584a76331b85256a46006f083e/574c99ccb345839185256976004e811e?OpenDocument
Alternatively, have the ID (your superior) sign the agent, by saving/enabling it, or use the “run agent on behalf of” feature. Then he will be the sender of the mails.
Subject: Woops…
Didn’t catch that… Principal vs. Principle always gets me!
Subject: RE: Principal field
Check out this link regarding the Principal field and eliminating the “On Behalf Of” indicator:
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/93c7200b8b36e85385256e5b000cfd3b?OpenDocument
The Principal field still works – it would be very unsusual for IBM/Lotus to disable something that would break so many existing applications.
Subject: RE: Email From Field
Thanks to all on behalf of my colleague David Ferguson, who posted the original query - setting the Principal field does exactly what we were after.