File tree Expand file tree Collapse file tree 6 files changed +23
-15
lines changed
src/main/java/examples/basic
src/main/java/com/socketLabs/injectionApi/message Expand file tree Collapse file tree 6 files changed +23
-15
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ dependencies {
1616 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1717 compile ' com.fasterxml.jackson.core:jackson-core:2.11.0'
1818 compile ' com.fasterxml.jackson.core:jackson-databind:2.11.0'
19- compile group : ' com.socketlabs' , name : ' injectionApi' , version : ' 1.1.0-SNAPSHOT '
19+ compile group : ' com.socketlabs' , name : ' injectionApi' , version : ' 1.1.0'
2020}
Original file line number Diff line number Diff line change @@ -27,10 +27,17 @@ public SendResponse RunExample() throws Exception {
2727
2828 message .setSubject ("Sending A Complex Test Message (Basic Send)" );
2929
30- message .setHtmlBody ("<html><body><h1>Sending A Complex Test Message</h1><p>This is the html Body of my message.</p><h2>Embedded Image:</h2><p><img src=\" cid:bus\" /></p></body></html>" );
30+ message .setHtmlBody ("<html>" +
31+ "<body>" +
32+ " <h1>Sending A Complex Test Message</h1>" +
33+ " <p>This is the html Body of my message.</p>" +
34+ " <h2>Embedded Image:</h2>" +
35+ " <p><img src=\" cid:bus\" /></p>" +
36+ "</body>" +
37+ "</html>" );
38+
3139 message .setPlainTextBody ("This is the Plain Text Body of my message." );
3240
33- //Setting Amp Body
3441 message .setAmpBody ("<!doctype html>" +
3542 "<html amp4email>" +
3643 "<head>" +
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ uploadArchives {
6565 MavenDeployment deployment -> signing. signPom(deployment)
6666 }
6767 repository(url : localRepoUrl)
68+
6869 /*
6970 repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
7071 authentication(userName: sonatypeUsername, password: sonatypePassword)
Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.socketlabs</groupId >
66 <artifactId >injectionApi</artifactId >
7- <version >1.1.0-SNAPSHOT </version >
7+ <version >1.1.0</version >
88 <name >socketlabs-java</name >
99 <description >SocketLabs Email Delivery Java library</description >
1010 <url >https://github.com/socketlabs/socketlabs-java/</url >
2323 <id >david-schrenker</id >
2424 <name >David Schrenker</name >
252526- <organization >org.apache.maven.model.Organization@749a2ed </organization >
26+ <organization >org.apache.maven.model.Organization@15ba5d1c </organization >
2727 <roles >
2828 <role >Developer</role >
2929 </roles >
3030 </developer >
3131 <developer >
3232 <id >rbrazuk</id >
3333 <name >Ross Brazuk</name >
34- <organization >org.apache.maven.model.Organization@47f054e3 </organization >
34+ <organization >org.apache.maven.model.Organization@3cf2a6e7 </organization >
3535 <roles >
3636 <role >Developer</role >
3737 </roles >
4040 <contributors >
4141 <contributor >
4242 <name >Ryan Lydzinski</name >
43- <organization >org.apache.maven.model.Organization@1b7c127f </organization >
43+ <organization >org.apache.maven.model.Organization@2e482819 </organization >
4444 <roles >
4545 <role >Intern</role >
4646 </roles >
Original file line number Diff line number Diff 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 or HtmlBody must be used or use a ApiTemplate with the AmpBody
57+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
5858 * </p>
5959 */
6060 private String plainTextBody ;
6161 /**
6262 * The HTML portion of the message body.
6363 * <p>
6464 * (Optional)
65- * Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
65+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
6666 * </p>
6767 */
6868 private String htmlBody ;
6969 /**
7070 * The AMP portion of the message body.
7171 * <p>
7272 * (Optional)
73- * Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
73+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
7474 * </p>
7575 */
7676 private String ampBody ;
7777 /**
7878 * The Api Template for the message.
7979 * <p>
8080 * (Optional)
81- * Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
81+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
8282 * </p>
8383 */
8484 private @ Nullable Integer apiTemplate ;
Original file line number Diff line number Diff 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 or HtmlBody must be used or use a ApiTemplate with the AmpBody
55+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
5656 * </p>
5757 */
5858 private String plainTextBody ;
5959 /**
6060 * The HTML portion of the message body.
6161 * <p>
6262 * (Optional)
63- * Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
63+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
6464 * </p>
6565 */
6666 private String htmlBody ;
6767 /**
6868 * The AMP portion of the message body.
6969 * <p>
7070 * (Optional)
71- * Either PlainTextBody or HtmlBody must be used or use a ApiTemplate with the AmpBody
71+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
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 with the AmpBody
79+ * Either PlainTextBody or HtmlBody must be used with the AmpBody or use a ApiTemplate
8080 * </p>
8181 */
8282 private @ Nullable Integer apiTemplate ;
You can’t perform that action at this time.
0 commit comments