Beispiel #1
0
 public static void WriteWarmingMessageBody(StreamWriter streamWriter, string encodedGroupDisplayName, CultureInfo cultureInfo)
 {
     ArgumentValidator.ThrowIfNull("streamWriter", streamWriter);
     streamWriter.Write(string.Format("<html><body><font face={0}><table cellspacing=\"0\"cellpadding=\"0\"border=\"0\"><tbody><tr><td style=\"height:64px;\"colspan=\"2\">{1}</td></tr><tr><td colspan=\"2\"><div style=\"margin-top:0px;height:20px;\"/></td></tr></tbody></table><table style=\"font-size:8pt;margin-top:0px;border-color:#EAEAEA\"align=\"left\"cellspacing=\"0\"cellpadding=\"0\"width=\"639\"border=\"0\"><tbody><tr>{2}</tr></tbody></table></font></body></html>", ClientStrings.GroupMailboxAddedMemberMessageFont.ToString(cultureInfo), string.Format("<div style=\"margin-left:20px;font-size:18pt;color:#0072C6\">{0}</div><div style=\"margin-left:20px;margin-top:5px;font-size:10pt;color:#000000\">{1}</div>", ClientStrings.GroupMailboxWelcomeMessageHeader1(encodedGroupDisplayName).ToString(cultureInfo), ClientStrings.GroupMailboxWelcomeMessageHeader2.ToString(cultureInfo)), WelcomeMessageBodyBuilder.GenerateGroupContent(cultureInfo, ModernGroupObjectType.None, null, null, null)));
 }
Beispiel #2
0
 protected override void WriteMessageBody(StreamWriter streamWriter)
 {
     ArgumentValidator.ThrowIfNull("streamWriter", streamWriter);
     WelcomeMessageBodyBuilder.WriteWarmingMessageBody(streamWriter, this.encodedGroupDisplayName, this.preferredCulture);
 }