Skip to content

Commit 2026042

Browse files
committed
Changing documentation
1 parent f4a24e3 commit 2026042

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

examples/src/main/java/examples/basic/BasicSendWithAmpBodyExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public SendResponse RunExample () throws Exception {
3737

3838
message.setFrom(new EmailAddress("[email protected]"));
3939
message.addToEmailAddress("[email protected]");
40-
message.addToEmailAddress("[email protected]", "Recipient #1");
40+
message.addToEmailAddress("[email protected]", "Recipient #2");
4141
message.addToEmailAddress(new EmailAddress("[email protected]"));
4242
message.addToEmailAddress(new EmailAddress("[email protected]", "Recipient #4"));
4343

injectionApi/src/main/java/com/socketLabs/injectionApi/core/SendValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private boolean HasFromAddress(MessageBase message)
106106
/**
107107
* Check if the message has a Message Body.
108108
* If an Api Template is specified it will override the HtmlBody, AmpBody, and/or the PlainTextBody.
109-
* If no Api Template is specified the HtmlBody, AmpBody, and/or the PlainTextBody must be set
109+
* If no Api Template is specified the HtmlBody and/or the PlainTextBody must be set
110110
* @param message The base interface, MessageBase, of the message to be sent.
111111
* @return boolean result
112112
*/

injectionApi/src/main/java/com/socketLabs/injectionApi/message/BasicMessage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,31 +54,31 @@ public class BasicMessage implements MessageBase {
5454
* The plain text portion of the message body.
5555
* <p>
5656
* (Optional)
57-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
57+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
5858
* </p>
5959
*/
6060
private String plainTextBody;
6161
/**
6262
* The HTML portion of the message body.
6363
* <p>
6464
* (Optional)
65-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
65+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
6666
* </p>
6767
*/
6868
private String htmlBody;
6969
/**
7070
* The AMP portion of the message body.
7171
* <p>
7272
* (Optional)
73-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
73+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
7474
* </p>
7575
*/
7676
private String ampBody;
7777
/**
7878
* The Api Template for the message.
7979
* <p>
8080
* (Optional)
81-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
81+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
8282
* </p>
8383
*/
8484
private @Nullable Integer apiTemplate;

injectionApi/src/main/java/com/socketLabs/injectionApi/message/BulkMessage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,31 @@ public class BulkMessage implements MessageBase {
5252
* The plain text portion of the message body.
5353
* <p>
5454
* (Optional)
55-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
55+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
5656
* </p>
5757
*/
5858
private String plainTextBody;
5959
/**
6060
* The HTML portion of the message body.
6161
* <p>
6262
* (Optional)
63-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
63+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
6464
* </p>
6565
*/
6666
private String htmlBody;
6767
/**
6868
* The AMP portion of the message body.
6969
* <p>
7070
* (Optional)
71-
* Either PlainTextBody, HtmlBody, or AmpBody must be used or use a ApiTemplate
71+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
7272
* </p>
7373
*/
7474
private String ampBody;
7575
/**
7676
* The Api Template for the message.
7777
* <p>
7878
* (Optional)
79-
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate
79+
* Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
8080
* </p>
8181
*/
8282
private @Nullable Integer apiTemplate;

0 commit comments

Comments
 (0)