Alterações na API Pública no Aspose.Email 4.8.0
A seguir está uma lista de quaisquer alterações feitas na API pública, como membros adicionados, renomeados, removidos ou obsoletos, bem como qualquer alteração não compatível com versões anteriores feita no Aspose.Email para Java. Se você tiver preocupações sobre qualquer alteração listada, por favor, apresente-a no fórum de suporte do Aspose.Email.
Novas classes:
ContactLoadFormat
MapiContactOtherPropertySet
MapiMessageItemBase
A classe base SaveOptions e classes particulares EmlSaveOptions, MsgSaveOptions, MhtSaveOptions, HtmlSaveOptions para configurações adicionais de salvamento de MailMessage foram adicionadas:
SaveOptions
EmlSaveOptions
HtmlSaveOptions
MhtSaveOptions
MsgSaveOptions
As seguintes classes estão apenas em aspose-email-4.8.0.0-jdk17.jar
:
ValidationResult
ValidationResponseCode
ValidationPolicy
TokenType
SyntaxValidatingEventHandler
SyntaxValidatingEventArgs
SocksVersion
SocksProxy
SocksAuthenticationMethods
SmtpStatusCode
SmtpSslSecurityMode
SmtpFailedRecipientsException
SmtpFailedBulkSendException
SmtpException
SmtpDeliveryMethod
SmtpClientBulkSendEventArgs
SmtpClientBulkSendAgent
SmtpClient
SmtpAuthentication
SimpleSeqSet
SequenceSetField
SequenceSetBaseValue
SendCompletedEventHandler
SecurityOptions
ReadLinesTimeoutException
RangeSeqSet
Pop3SslSecurityMode
Pop3MessageInfo
Pop3MailboxInfo
Pop3ListFields
Pop3Exception
Pop3ConnectionState
Pop3Client
Pop3Authentication
OAuthToken
MailServerValidatingEventHandler
MailServerValidatingEventArgs
MailClientTask
ImapStatusCode
ImapSslSecurityMode
ImapResponse
ImapQueryBuilder
ImapMessageInfoCollection
ImapMessageInfo
ImapMessageFlags
ImapFolderInfoCollection
ImapFolderInfo
ImapException
ImapCommandResult
ImapClient
ImapAuthentication
ITokenProvider
IOAuthServiceClient
IMailTransferAgent
IFeedEntry
ICommand
IAsyncCommand
GoogleTokenProvider
GmailContactPostalAddress
GmailContactPhoneNumber
GmailContactOrganization
GmailContactName
GmailContactInfoCollection
GmailContactInfo
GmailContactIm
GmailContactGroup
GmailContactEmail
GmailContact
GmailClientException
GmailClientAuthorization
GmailClient
FetchTimeoutException
FeedEntryCollection
DomainValidatingEventHandler
DomainValidatingEventArgs
CredentialsByHostClient
ConnectionState
CommandStatus
BaseCommand
AsyncCommandResults
AsposeInvalidDataException
Novos métodos na classe Contact:
load(Stream)
load(Stream,int)
load(String)
load(String,int)
save(Stream)
save(Stream,Aspose.Email.Outlook.ContactSaveFormat)
save(Stream,Aspose.Email.Outlook.ContactSaveOptions)
save(System.String)
save(System.String,int)
save(System.String,int)
Novos métodos na classe MailMessage:
save(Stream, SaveOptions)
save(String, SaveOptions)
decrypt(byte[],java.lang.String)
decrypt()
encrypt(byte[],java.lang.String)
attachSignature(byte[],java.lang.String)
checkSignature()
checkSignature(java.lang.String)
checkSignature(java.io.InputStream)
removeSignature()
Métodos obsoletos na classe MailMessage:
public boolean getPreserveOriginalBoundaries(), public void setPreserveOriginalBoundaries(boolean value)
- Use o métodosave(Stream stream, SaveOptions options)
com a configuraçãoEmlSaveOptions.PreserveOriginalBoundaries
em vez dessa propriedade.public boolean getPreserveOriginalDates(), public void setPreserveOriginalDates(boolean value)
- Use o métodosave(Stream stream, SaveOptions options)
com a configuraçãoMsgSaveOptions.PreserveOriginalDates
em vez dessa propriedade.void save(String fileName, MailMessageSaveType savetype)
void save(String fileName, MailMessageSaveType savetype, int saveOptions)
void save(String fileName, MessageFormat format)
void save(String fileName, MessageFormat format, int saveOptions)