Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
315c92da
Commit
315c92da
authored
11 years ago
by
jakubs
Browse files
Options
Downloads
Patches
Plain Diff
BIS-569 SP-1016 Improve javadoc of IMailClient
SVN: 30118
parent
f694c511
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/source/java/ch/systemsx/cisd/common/mail/IMailClient.java
+18
-22
18 additions, 22 deletions
...source/java/ch/systemsx/cisd/common/mail/IMailClient.java
with
18 additions
and
22 deletions
common/source/java/ch/systemsx/cisd/common/mail/IMailClient.java
+
18
−
22
View file @
315c92da
...
...
@@ -29,44 +29,41 @@ public interface IMailClient
{
/**
* Warning: deprecated, use
* {@link #sendEmailMessage(String, String, EMailAddress, EMailAddress, EMailAddress...)}
* instead. They do proper escaping of personal names with comas and semi-colons.<br>
* Warning: deprecated, use {@link #sendEmailMessage(String, String, EMailAddress, EMailAddress, EMailAddress...)} instead. They do proper
* escaping of personal names with comas and semi-colons.<br>
* <br>
* Sends a mail with given <var>subject</var> and <var>content</var> to given
* <var>recipients</var>.
* Sends a mail with given <var>subject</var> and <var>content</var> to given <var>recipients</var>.
*
* @param replyToOrNull reply-to part of the email header. Can be <code>null</code>.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
*
will overwrite the 'from' value specified for the
client.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
will overwrite the 'from' value specified for the
* client.
* @param recipients list of recipients (of type <code>Message.RecipientType.TO</code>)
* @deprecated Use {@link #sendEmailMessage(String, String, EMailAddress, EMailAddress, EMailAddress...)} instead. They do proper escaping of
* personal names with comas and semi-colons.
*/
// TODO 2010-06-15, Tomasz Pylak: @deprecated, use the new metho
d
@Deprecate
d
public
void
sendMessage
(
String
subject
,
String
content
,
String
replyToOrNull
,
From
fromOrNull
,
String
...
recipients
)
throws
EnvironmentFailureException
;
/**
* Sends a mail with given <var>subject</var> and <var>content</var> to given
* <var>recipients</var>.
* Sends a mail with given <var>subject</var> and <var>content</var> to given <var>recipients</var>.
*
* @param replyToOrNull Reply-to email header. Can be <code>null</code>.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
*
will overwrite the 'from' value specified for the
client.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
will overwrite the 'from' value specified for the
* client.
* @param recipients list of recipients (of type <code>Message.RecipientType.TO</code>)
*/
public
void
sendEmailMessage
(
String
subject
,
String
content
,
EMailAddress
replyToOrNull
,
EMailAddress
fromOrNull
,
EMailAddress
...
recipients
)
throws
EnvironmentFailureException
;
/**
* Sends a mail with given <var>subject</var> and <var>content</var> to given
* <var>recipients</var>, includig the given <var>attachment</var>
* Sends a mail with given <var>subject</var> and <var>content</var> to given <var>recipients</var>, includig the given <var>attachment</var>
*
* @param replyToOrNull reply-to part of the email header. Can be <code>null</code>.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
*
will overwrite the 'from' value specified for the
client.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
will overwrite the 'from' value specified for the
* client.
* @param recipients list of recipients (of type <code>Message.RecipientType.TO</code>)
* @deprecated Use
* {@link #sendEmailMessageWithAttachment(String, String, String, DataHandler, EMailAddress, EMailAddress, EMailAddress...)}
* @deprecated Use {@link #sendEmailMessageWithAttachment(String, String, String, DataHandler, EMailAddress, EMailAddress, EMailAddress...)}
* instead. They do proper escaping of personal names with comas and semi-colons.
*/
@Deprecated
...
...
@@ -75,12 +72,11 @@ public interface IMailClient
final
From
fromOrNull
,
final
String
...
recipients
)
throws
EnvironmentFailureException
;
/**
* Sends a mail with given <var>subject</var> and <var>content</var> to given
* <var>recipients</var>, includig the given <var>attachment</var>
* Sends a mail with given <var>subject</var> and <var>content</var> to given <var>recipients</var>, includig the given <var>attachment</var>
*
* @param replyToOrNull Reply-to email header. Can be <code>null</code>.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
*
will overwrite the 'from' value specified for the
client.
* @param fromOrNull from part of the email header. Can be <code>null</code>. If specified -
will overwrite the 'from' value specified for the
* client.
* @param recipients list of recipients (of type <code>Message.RecipientType.TO</code>)
*/
public
void
sendEmailMessageWithAttachment
(
final
String
subject
,
final
String
content
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment