Link to home
Create AccountLog in
Avatar of Kasper Katzmann
Kasper KatzmannFlag for Denmark

asked on

Replace Spaces with Dots in Email Address Policy

If I have a user with the name John Doe Johnson, I can make an Email Address Policy that gives him the email address JohnDoe.Johnson@domain.com (%g.%s)

But I need to give him and all other with multiple first names an address like this: John.Doe.Johnson@domain.com

So my question is, how do I replace all spaces with dots?


/Kasper
Avatar of Amit
Amit
Flag of India image

For one user, add secondary address whatever you want and set it as primary. Uncheck automatically update email address policy check box under email address tab. You are done.
Avatar of Kasper Katzmann

ASKER

I am aware of that, but I need it as an Email Address Policy.
Try this

%g.%i.%s
It worked just like %g.%s
ASKER CERTIFIED SOLUTION
Avatar of Kasper Katzmann
Kasper Katzmann
Flag of Denmark image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Ok
I found the correct solution on my own