A B C D E F G I M R S T

A

AttachmentException - exception com.lavantech.net.mail.AttachmentException.
An AttachmentException is thrown when an attachment in a Message is not accessible (doesn't exists or not readable) for mailing.
AttachmentException(String, File) - Constructor for class com.lavantech.net.mail.AttachmentException
Constructs an AttachmentException with a given message and file
addAttachment(File) - Method in class com.lavantech.net.mail.Message
Add an attachment to the message.

B

bcc - Variable in class com.lavantech.net.mail.Message
 

C

cc - Variable in class com.lavantech.net.mail.Message
 
charset - Variable in class com.lavantech.net.mail.Message
 
com.lavantech.net.mail - package com.lavantech.net.mail
 

D

dateTime - Variable in class com.lavantech.net.mail.Message
 
displayName - Variable in class com.lavantech.net.mail.EmailAddress
 
domain - Variable in class com.lavantech.net.mail.EmailAddress
 

E

EmailAddress - class com.lavantech.net.mail.EmailAddress.
This class represents an Email Address.
EmailAddress(String, String) - Constructor for class com.lavantech.net.mail.EmailAddress
Constructs an EmailAddress with the given email id and display name.
EmailAddress(String, String, String) - Constructor for class com.lavantech.net.mail.EmailAddress
Constructs an EmailAddress with the given email id and display name in an given Character Set.
emailId - Variable in class com.lavantech.net.mail.EmailAddress
 

F

from - Variable in class com.lavantech.net.mail.Message
 

G

getAttachmentFile() - Method in class com.lavantech.net.mail.AttachmentException
Returns the file that was not accessible for mailing.
getAttachments() - Method in class com.lavantech.net.mail.Message
Returns an array of attachments in the message.
getDateTime() - Method in class com.lavantech.net.mail.Message
Returns the message Date and Time.
getEncodedBytes() - Method in class com.lavantech.net.mail.EmailAddress
Returns the Email Address in an encoded form that can be used in SMTP.
getFailedAddresses() - Method in class com.lavantech.net.mail.MailException
Returns an array of EmailAddress for which the mailing failed.
getMailServers(String) - Static method in class com.lavantech.net.mail.SMTPMailer
Returns an array of mail server for a given domain.
getMessage() - Method in class com.lavantech.net.mail.MailException
Returns a message that has a list of failed email address and reason for failure.
getReasons() - Method in class com.lavantech.net.mail.MailException
Returns an array of reasons for failure.

I

InvalidAddressException - exception com.lavantech.net.mail.InvalidAddressException.
This Exception is thrown when a valid from or no to address is specified for mailing.
InvalidAddressException(String) - Constructor for class com.lavantech.net.mail.InvalidAddressException
Constructs the Exception with the given message.

M

MailException - exception com.lavantech.net.mail.MailException.
This execption is thrown if mailing failed for certail email address.
MailException(EmailAddress[], String[]) - Constructor for class com.lavantech.net.mail.MailException
Constructs the Exception with a list of Failed Email Address and Reasons.
Message - class com.lavantech.net.mail.Message.
This class represents a Email Message that can be emailed.
Message(EmailAddress, EmailAddress[], EmailAddress[], EmailAddress[], String, String) - Constructor for class com.lavantech.net.mail.Message
Constructs a message with the given From address, To addresss, CC addresses, BCC addresses, Subject and Message.
Message(EmailAddress, EmailAddress, EmailAddress, EmailAddress[], EmailAddress[], EmailAddress[], String, String, String, File[]) - Constructor for class com.lavantech.net.mail.Message
Constructs a message with more details than the simple constructor.
message - Variable in class com.lavantech.net.mail.Message
 

R

removeAttachment(File) - Method in class com.lavantech.net.mail.Message
Remove an attachment to the message.
replyTo - Variable in class com.lavantech.net.mail.Message
 
returnPath - Variable in class com.lavantech.net.mail.Message
 

S

SMTPAuthException - exception com.lavantech.net.mail.SMTPAuthException.
This exception is thrown when authentication with the Mail Server fails for a given login and password while sending mail.
SMTPAuthException(String) - Constructor for class com.lavantech.net.mail.SMTPAuthException
Constructs the exception with the given message.
SMTPMailer - class com.lavantech.net.mail.SMTPMailer.
SMTPMailer mails a given message.
SMTPMailer() - Constructor for class com.lavantech.net.mail.SMTPMailer
 
SMTP_PORT - Static variable in class com.lavantech.net.mail.SMTPMailer
SMTP Port number.
SOCKET_TIMEOUT - Static variable in class com.lavantech.net.mail.SMTPMailer
Socket Timeout period in milliseconds.
sendMail(Message) - Static method in class com.lavantech.net.mail.SMTPMailer
Mails a given message.
sendMail(Message, String, String, String) - Static method in class com.lavantech.net.mail.SMTPMailer
Mails a given message.
setDateTime(Calendar) - Method in class com.lavantech.net.mail.Message
Sets the message Date and Time.
subject - Variable in class com.lavantech.net.mail.Message
 

T

to - Variable in class com.lavantech.net.mail.Message
 
toString() - Method in class com.lavantech.net.mail.EmailAddress
Returns a String representation of the Email Id.
toString() - Method in class com.lavantech.net.mail.MailException
Converts the exception to a string format.

A B C D E F G I M R S T