Using defined var (url host server) for email local or online version