public void SendEmailChangeInstructions(UserInfo user, string email) { client.SendNoticeToAsync( CoreContext.Configuration.Personal ? Constants.ActionEmailChangePersonal : Constants.ActionEmailChange, null, RecipientFromEmail(new[] { email }, false), new[] { EMailSenderName }, null, new TagValue(Constants.TagUserName, SecurityContext.IsAuthenticated ? DisplayUserSettings.GetFullUserName(SecurityContext.CurrentAccount.ID) : ((HttpContext.Current != null) ? HttpContext.Current.Request.UserHostAddress : null)), new TagValue(Constants.TagInviteLink, CommonLinkUtility.GetConfirmationUrl(email, ConfirmType.EmailChange)), new TagValue(Constants.TagBody, string.Empty), new TagValue(Constants.TagUserDisplayName, string.Empty), Constants.TagSignatureStart, Constants.TagSignatureEnd, new TagValue(CommonTags.WithPhoto, CoreContext.Configuration.Personal ? "personal" : ""), new TagValue(CommonTags.IsPromoLetter, CoreContext.Configuration.Personal ? "true" : "false"), new TagValue(CommonTags.Culture, user.GetCulture().Name), Constants.UnsubscribeLink); }