public class Mail
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
bodyLengthLimit |
Constructor and Description |
---|
Mail() |
Modifier and Type | Method and Description |
---|---|
static boolean |
editMail(java.lang.String receiver)
Composes a mail for the receiver to be edited by the user.
|
static boolean |
editMail(java.lang.String receiver,
java.lang.String subject,
java.lang.String body)
Composes a mail for the receiver with predefined body content to be edited by the user.
|
static boolean |
editMail(java.lang.String receiver,
java.lang.String cc,
java.lang.String subject,
java.lang.String body)
Composes a mail for the receiver with predefined body content to be edited by the user.
|
static boolean |
editMail(java.lang.String receiver,
java.lang.String cc,
java.lang.String subject,
java.lang.String body,
java.lang.String attachment)
Composes a mail for the receiver with predefined body content to be edited by the user.
|
static boolean |
editMail(java.lang.String receiver,
java.lang.String cc,
java.lang.String subject,
java.util.Vector<java.lang.String> bodyTop,
java.util.Vector<java.lang.String> bodyBody,
java.util.Vector<java.lang.String> bodyBottom)
Composes a mail for the receiver with predefined body content to be edited by the user.
|
static boolean |
editMail(java.lang.String receiver,
java.lang.String subject,
java.util.Vector<java.lang.String> body)
Composes a mail for the receiver with predefined body content to be edited by the user.
|
static boolean |
editMail(java.lang.String receiver,
java.lang.String subject,
java.util.Vector<java.lang.String> bodyTop,
java.util.Vector<java.lang.String> bodyBody,
java.util.Vector<java.lang.String> bodyBottom)
Composes a mail for the receiver with predefined body content to be edited by the user.
|
public static boolean editMail(java.lang.String receiver)
receiver
- the receiver of the mailpublic static boolean editMail(java.lang.String receiver, java.lang.String subject, java.util.Vector<java.lang.String> bodyTop, java.util.Vector<java.lang.String> bodyBody, java.util.Vector<java.lang.String> bodyBottom)
receiver
- the receiver of the mailsubject
- the subject of the new mailbodyTop
- the top fix text of the bodybodyBody
- the 'body of the body' - the variable part that may be split into different e-mail to fit the limits of e-mail client softwarebodyBottom
- the bottom fix text of the bodypublic static boolean editMail(java.lang.String receiver, java.lang.String cc, java.lang.String subject, java.util.Vector<java.lang.String> bodyTop, java.util.Vector<java.lang.String> bodyBody, java.util.Vector<java.lang.String> bodyBottom)
receiver
- the receiver of the mailcc
- the cc to send tosubject
- the subject of the new mailbodyTop
- the top fix text of the bodybodyBody
- the 'body of the body' - the variable part that may be split into different e-mail to fit the limits of e-mail client softwarebodyBottom
- the bottom fix text of the bodypublic static boolean editMail(java.lang.String receiver, java.lang.String subject, java.util.Vector<java.lang.String> body)
receiver
- the receiver of the mailsubject
- the subject of the new mailbody
- the body text of the new mail where each item is one body text linepublic static boolean editMail(java.lang.String receiver, java.lang.String subject, java.lang.String body)
receiver
- the receiver of the mailsubject
- the subject of the new mailbody
- the body text of the new mailpublic static boolean editMail(java.lang.String receiver, java.lang.String cc, java.lang.String subject, java.lang.String body)
receiver
- the receiver of the mailcc
- the receiver of the mail copysubject
- the subject of the new mailbody
- the body text of the new mailpublic static boolean editMail(java.lang.String receiver, java.lang.String cc, java.lang.String subject, java.lang.String body, java.lang.String attachment)
receiver
- the receiver of the mailcc
- TODOsubject
- the subject of the new mailbody
- the body text of the new mailattachment
- the path of the file to be attached or null if nothing is to attachCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de