I have a notes form that my users fill in and then save. I need to obtain their email address.Anyone know how I can get the current user’s email address from the address book, using Formula lang?
Subject: Current user’s Email Address
@NameLookup should do what you want
Subject: RE: Current user’s Email Address
It does ot appear to have any paramenters that would return the current user’s email. The reason for this is that I would like to send a message to the current user. Is there any other way to do this using Formula Lang? Here is my current code:
@If(ExtApproved=“Awaiting Approval” & ApprovalFlag=“0”;
@MailSend(@Name([CN];@UserName):AgyEmail;“”;“”;"Extension
Request Status";“Your request is now awaiting approval”;Body);
“”);
Subject: RE: Current user’s Email Address
this will get the internet address from the user’s person doc but if all you want to do is send the user an e-mail then the code you posted should work, does it not?
@NameLookup([EXHAUSTIVE];@UserName;“InternetAddress”)