Create a Forwarding Address in a Person Doc based on Email Address


SELECT Form = "Person";
@If(
	InternetAddress=""; "";
	@Do(
		addr := @LowerCase(InternetAddress);
		tmp := @ReplaceSubstring(addr; "@existingdomain.com";"@newname.com");
		@SetField("MailAddress"; tmp)
	)
)
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...