Esempio n. 1
0
 /// <summary>
 /// Inserts a row in the mp_EmailSendLog table. Returns rows affected count.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <param name="siteGuid"> siteGuid </param>
 /// <param name="moduleGuid"> moduleGuid </param>
 /// <param name="specialGuid1"> specialGuid1 </param>
 /// <param name="specialGuid2"> specialGuid2 </param>
 /// <param name="toAddress"> toAddress </param>
 /// <param name="ccAddress"> ccAddress </param>
 /// <param name="bccAddress"> bccAddress </param>
 /// <param name="subject"> subject </param>
 /// <param name="textBody"> textBody </param>
 /// <param name="htmlBody"> htmlBody </param>
 /// <param name="type"> type </param>
 /// <param name="sentUtc"> sentUtc </param>
 /// <param name="fromAddress"> fromAddress </param>
 /// <param name="replyTo"> replyTo </param>
 /// <param name="userGuid"> userGuid </param>
 /// <returns>int</returns>
 public static void Create(
     Guid guid,
     Guid siteGuid,
     Guid moduleGuid,
     Guid specialGuid1,
     Guid specialGuid2,
     string toAddress,
     string ccAddress,
     string bccAddress,
     string subject,
     string textBody,
     string htmlBody,
     string type,
     DateTime sentUtc,
     string fromAddress,
     string replyTo,
     Guid userGuid)
 {
     DBEmailSendLog.Create(
         guid,
         siteGuid,
         moduleGuid,
         specialGuid1,
         specialGuid2,
         toAddress,
         ccAddress,
         bccAddress,
         subject,
         textBody,
         htmlBody,
         type,
         sentUtc,
         fromAddress,
         replyTo,
         userGuid);
 }
Esempio n. 2
0
 /// <summary>
 /// Deletes rows from the mp_EmailSendLog table. Returns true if row deleted.
 /// </summary>
 public static bool DeleteBySite(Guid siteGuid)
 {
     return(DBEmailSendLog.DeleteBySite(siteGuid));
 }
Esempio n. 3
0
 /// <summary>
 /// Deletes a row from the mp_EmailSendLog table. Returns true if row deleted.
 /// </summary>
 /// <param name="guid"> guid </param>
 /// <returns>bool</returns>
 public static bool Delete(Guid guid)
 {
     return(DBEmailSendLog.Delete(guid));
 }
Esempio n. 4
0
 /// <summary>
 /// Deletes rows from the mp_EmailSendLog table. Returns true if row deleted.
 /// </summary>
 public static bool DeleteByModule(Guid moduleGuid)
 {
     return(DBEmailSendLog.DeleteByModule(moduleGuid));
 }