//---------------------------------------------------------------------- public static void SendActivationCodeMessage(MailListUsersEntity user) { // prepare message string body = string.Format(DynamicResource.GetText("MailList", "ActivationMailBody"), new string[3] { SitesHandler.GetSiteDomain(), Encryption.Encrypt(user.UserID.ToString()), user.Email }); //string from =MailListEmailsFactory.MailFrom; MailListEmailsEntity mail = new MailListEmailsEntity(); mail.Subject = DynamicResource.GetText("MailList", "ActivationMailSubject"); mail.Body = body; mail.To.Add(user.Email); MailListEmailsFactory.Send(mail); }
//--------------------------------------------------------------------------------------------------------------------------------- public static string BuildFlashPlayerCode(string swfPath, int width, int height, string bgcolorNumber) { swfPath = SitesHandler.GetSiteDomain() + swfPath; return(BuildFlashPlayer(swfPath, width, height, bgcolorNumber)); }