-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from khoa-nd/master
Merged
- Loading branch information
Showing
30 changed files
with
953 additions
and
792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package com.techlooper.model; | ||
|
||
import javax.mail.Address; | ||
import java.io.Serializable; | ||
|
||
/** | ||
* Created by phuonghqh on 10/1/15. | ||
*/ | ||
public class EmailContent implements Serializable { | ||
|
||
private String subject; | ||
|
||
private String content; | ||
|
||
private Address[] recipients; | ||
|
||
private Language language; | ||
|
||
public Language getLanguage() { | ||
return language; | ||
} | ||
|
||
public void setLanguage(Language language) { | ||
this.language = language; | ||
} | ||
|
||
public Address[] getRecipients() { | ||
return recipients; | ||
} | ||
|
||
public void setRecipients(Address[] recipients) { | ||
this.recipients = recipients; | ||
} | ||
|
||
public String getSubject() { | ||
return subject; | ||
} | ||
|
||
public void setSubject(String subject) { | ||
this.subject = subject; | ||
} | ||
|
||
public String getContent() { | ||
return content; | ||
} | ||
|
||
public void setContent(String content) { | ||
this.content = content; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.techlooper.service; | ||
|
||
import com.techlooper.model.EmailContent; | ||
|
||
/** | ||
* Created by phuonghqh on 10/1/15. | ||
*/ | ||
public interface EmailService { | ||
|
||
boolean sendEmail(EmailContent emailContent); | ||
} |
Oops, something went wrong.