Domino Code Fragment

Code Name*
Mail by WEB Agent - From Field
Date*
06/22/2000
Source (or email address if you prefer)*
flashlr@hotmail.com
IP address:.195.212.51.3
Description*
Solution to the "From" Field problem in Web Agent
Type*
LotusScript
Categories*
Implementation:
None (plug and play)
Required Client:
(none)
Server:
(none)
Limitations:
Comments:
When you create an (WEB)agent that has to send a message, you will certainly encounter a problem with the "From" field. Notes adds automatically the name of the person who Last update the Agent. To force the correct value , enter the following line :
Files/Graphics attachments (if applicable): Code:
Dim EMail as notesdocument
...
EMail.Principal = "MyEmail@MyDomain.com"

...