Produced by Araxis Merge on 6/11/2019 10:54:12 AM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\mail | MailService.java | Wed May 29 15:26:02 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\mail | MailService.java | Mon Jun 10 19:27:47 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 182 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /********* ********** ********** ********** ********** ********** ********* | |
| 2 | * Copyrii ght 2004 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | // Package | |
| 5 | package go v.va.med.f w.mail; | |
| 6 | ||
| 7 | // Java cl asses | |
| 8 | import jav a.io.Seria lizable; | |
| 9 | ||
| 10 | import org .springfra mework.cor e.io.Resou rce; | |
| 11 | import org .springfra mework.mai l.MailExce ption; | |
| 12 | import org .springfra mework.mai l.SimpleMa ilMessage; | |
| 13 | import org .springfra mework.mai l.javamail .JavaMailS ender; | |
| 14 | ||
| 15 | // Framewo rk classes | |
| 16 | ||
| 17 | // ESR cla sses | |
| 18 | ||
| 19 | /** | |
| 20 | * Provide s generic methods to send simp le text me ssages as well as MI ME | |
| 21 | * message s. Provide s addition al 2 most common met hods to se nd a simpl e text | |
| 22 | * message and a tex t message with an at tachment f ile. | |
| 23 | * | |
| 24 | * Project : Framewor k</br> Cre ated on: 1 0:41:17 AM </br> | |
| 25 | * | |
| 26 | * @author DN S
|
|
| 27 | */ | |
| 28 | public int erface Mai lService e xtends Jav aMailSende r, Seriali zable { | |
| 29 | ||
| 30 | /* * | |
| 31 | * Sends a s imple text message w ith a pred efined e-m ail templa te contain ing | |
| 32 | * propertie s such as subject, f rom, to, e tc ... | |
| 33 | * | |
| 34 | * @param te xt | |
| 35 | * A simple text mess age | |
| 36 | * @param te mplate | |
| 37 | * An e-mai l template | |
| 38 | * @throws M ailExcepti on | |
| 39 | * Thrown in case of errors in sending m essage | |
| 40 | * / | |
| 41 | pu blic void send(Strin g text, Si mpleMailMe ssage temp late) thro ws MailExc eption; | |
| 42 | ||
| 43 | /* * | |
| 44 | * Sends a s imple text message, an atachme nt, and an e-mail te mplate | |
| 45 | * containin g properti es such as subject, from, to, etc... | |
| 46 | * | |
| 47 | * @param te xt | |
| 48 | * A simple text mess age | |
| 49 | * @param at tachment | |
| 50 | * An attac hment | |
| 51 | * @param te mplate | |
| 52 | * An e-mai l template | |
| 53 | * @throws M ailExcepti on | |
| 54 | * Thrown in case of errors in sending m essage | |
| 55 | * / | |
| 56 | pu blic void send(Strin g text, St ring attac hment, Sim pleMailMes sage templ ate) | |
| 57 | throws MailExcep tion; | |
| 58 | ||
| 59 | /* * | |
| 60 | * Sends a s imple text message, an atachme nt, and an e-mail te mplate | |
| 61 | * containin g properti es such as subject, from, to, etc... | |
| 62 | * | |
| 63 | * @param te xt | |
| 64 | * A simple text mess age | |
| 65 | * @param re source | |
| 66 | * An attac hment | |
| 67 | * @param te mplate | |
| 68 | * An e-mai l template 's stream | |
| 69 | * @throws M ailExcepti on | |
| 70 | * Thrown in case of errors in sending m essage | |
| 71 | * / | |
| 72 | pu blic void send(Strin g text, Re source res ource, Sim pleMailMes sage templ ate) | |
| 73 | throws MailExcep tion; | |
| 74 | ||
| 75 | /* * | |
| 76 | * Sends a s imple text message, an atachme nt, and an e-mail te mplate | |
| 77 | * containin g properti es such as subject, from, to, etc... | |
| 78 | * | |
| 79 | * @param te xt | |
| 80 | * A simple text mess age | |
| 81 | * @param re source | |
| 82 | * An attac hment | |
| 83 | * @param te mplate | |
| 84 | * An e-mai l template 's stream | |
| 85 | * @param na me | |
| 86 | * An attac hment file 's name | |
| 87 | * @throws M ailExcepti on | |
| 88 | * Thrown in case of errors in sending m essage | |
| 89 | * / | |
| 90 | pu blic void send(Strin g text, Re source res ource, Sim pleMailMes sage templ ate, Strin g name) | |
| 91 | throws MailExcep tion; | |
| 92 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.