@@ -13,22 +13,22 @@ namespace SocketLabs.InjectionApi.Message
1313 ///
1414 /// message.PlainTextBody = "This is the body of my message sent to ##Name##";
1515 /// message.HtmlBody = "<![CDATA[ <html> ]]>This is the HtmlBody of my message sent to ##Name##<![CDATA[ </html> ]]>";
16- /// message.AmpBody( "<!doctype html>" +
17- ///"< html amp4email>" +
18- ///"< head>" +
19- /// " <meta charset=\"utf-8\">" +
20- /// " <script async src=\"https://cdn.ampproject.org/v0.js\"></script >" +
21- /// " <style amp4email-boilerplate>body{visibility:hidden}</style>" +
22- /// " <style amp-custom>" +
23- /// " h1 {" +
24- /// " margin: 1rem;" +
25- /// " }" +
26- /// " </style>" +
27- ///"< /head>" +
28- ///"< body>" +
29- /// " <h1>This is the AMP Html Body of my message</h1>" +
30- ///"< /body>" +
31- ///"< /html>") ;
16+ /// message.AmpBody = "<![CDATA[ <! doctype html> ]] >" +
17+ /// "<![CDATA[ < html amp4email> ]] >" +
18+ /// "<![CDATA[ < head> ]] >" +
19+ /// " <![CDATA[ < meta charset=\"utf-8\"> ]] >" +
20+ /// " <![CDATA[ < script async src=\"https://cdn.ampproject.org/v0.js\"> ]]><![CDATA[ </style> ]] >" +
21+ /// " <![CDATA[ < style amp4email-boilerplate> ]]> body{visibility:hidden}<![CDATA[ < /style> ]] >" +
22+ /// " <![CDATA[ < style amp-custom> ]] >" +
23+ /// " h1 {" +
24+ /// " margin: 1rem;" +
25+ /// " }" +
26+ /// " <![CDATA[ < /style> ]] >" +
27+ /// "<![CDATA[ < /head> ]] >" +
28+ /// "<![CDATA[ < body> ]] >" +
29+ /// " <![CDATA[ < h1> ]]> This is the AMP Html Body of my message<![CDATA[ < /h1> ]] >" +
30+ /// "<![CDATA[ < /body> ]] >" +
31+ /// "<![CDATA[ < /html> ]]>" ;
3232 /// message.Subject = "Sending a test message";
3333 /// message.From.Email = "from@example.com";
3434 ///
@@ -41,7 +41,7 @@ namespace SocketLabs.InjectionApi.Message
4141 /// </example>
4242 /// <seealso cref="IMessageBase"/>
4343 /// <seealso cref="IBasicMessage"/>
44-
44+
4545 public class BasicMessage : IBasicMessage
4646 {
4747 /// <summary>
@@ -57,7 +57,7 @@ public class BasicMessage : IBasicMessage
5757 /// </summary>
5858 /// <remarks>
5959 /// (Optional)
60- /// Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
60+ /// Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
6161 /// </remarks>
6262 public string PlainTextBody { get ; set ; }
6363
@@ -66,7 +66,7 @@ public class BasicMessage : IBasicMessage
6666 /// </summary>
6767 /// <remarks>
6868 /// (Optional)
69- /// Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
69+ /// Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
7070 /// </remarks>
7171 public string HtmlBody { get ; set ; }
7272
@@ -75,7 +75,7 @@ public class BasicMessage : IBasicMessage
7575 /// </summary>
7676 /// <remarks>
7777 /// (Optional)
78- /// Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody with the AmpBody
78+ /// Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
7979 /// See https://amp.dev/documentation/ for more information on AMP implementation
8080 /// </remarks>
8181 public string AmpBody { get ; set ; }
0 commit comments