/// <summary>
        /// <para>Creates a "Paste HTML" Triggered Send Definition with "Subject", "Body" and "Head" replacement value names. </para>
        /// </summary>
        /// <param name="externalKey"></param>
        /// <param name="priority"></param>
        /// <returns></returns>
        public int CreateTriggeredSendDefinitionWithPasteHtml(string externalKey, Priority priority = Priority.Medium)
        {
            const string layoutHtml = "<html>" +
                                      "<head>%%Head%%</head>" +
                                      "%%Body%%" +
                                      "</html>";

            using (var creator = new PasteHtmlEmailCreator(_config))
            {
                return creator.Create(externalKey, layoutHtml, priority);
            }
        }
 /// <summary>
 /// <para>Creates a "Paste HTML" Triggered Send Definition with "Subject" replacement value and  using layoutHtml. </para>
 /// <para>Replacement values in layoutHtml (for example %%FirstName%% or %%myOwnVariableName%% ) 
 /// will be parsed and created as fields in the Data Extension.</para>
 /// </summary>
 /// <param name="externalKey"></param>
 /// <param name="layoutHtml"></param>
 /// <param name="priority"></param>
 /// <returns></returns>
 public int CreateTriggeredSendDefinitionWithPasteHtml(string externalKey, string layoutHtml, Priority priority = Priority.Medium)
 {
     using (var creator = new PasteHtmlEmailCreator(_config))
     {
         return creator.Create(externalKey, layoutHtml, priority);
     }
 }