...
Info |
---|
title | Poller endpoint attributes |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Name | Type | Description | Default |
---|
connection | string | sets the connection information | null (must be spec'd) | deleteProcessedMessages | boolean | delete mail from server when it is processed | false | processOnlyUnseenMessages | boolean | process only mails which are new (unseen) | true | marshaler | class | org.apache.servicemix.mail.marshaler.AbstractMailMarshaler | DefaultMailMarshaler | maxFetchSize | int | sets max amount of mails to fetch, -1 means no limit | -1 | debugMode | boolean | sets the debug mode for the javamail api | false | customTrustManagers | string | sets one or more custom trust managers for use with ssl | null | storage | class | sets the storage to use for remembering the seen messages when using pop protocol (org.apache.servicemix.store.Store) | null | customProperties | java.util.Map | a map of custom properties for the connection | null |
|
...
Info |
---|
title | Special message properties |
---|
borderStyle | solidbgColor='lighblue' |
---|
|
Constant | String-Value | Description |
---|
MSG_TAG_TO | org.apache.servicemix.mail.to | The address(es) the mail was or will be sent to. | MSG_TAG_CC | org.apache.servicemix.mail.cc | The addess(es) the mail was or will be sent to as copy. | MSG_TAG_BCC | org.apache.servicemix.mail.bcc | The addess(es) the mail will be sent to as blind copy. | MSG_TAG_FROM | org.apache.servicemix.mail.from | The addess the mail was received from or will be used as sender. | MSG_TAG_TEXT SUBJECT | org.apache.servicemix.mail.text subject | Contains the plain text content of the mail body if existing The subject of the received mail or for the mail to be sent. | MSG_TAG_HTML REPLYTO | org.apache.servicemix.mail.html Contains the html content of the mail body if existingreplyto | The address to be used as reply-to. | MSG_TAG_SUBJECT SENTDATE | org.apache.servicemix.mail.subject sentdate | The subject of the received mail or for the mail to be date the email was sent. | MSG_TAG_MAIL_CONTENT_REPLYTO TYPE | org.apache.servicemix.mail.replyto type | The address to be used as reply-tomail mime type. | MSG_TAG_MAIL_SENTDATE CHARSET | org.apache.servicemix.mail.sentdate charset | The date the email was sentcharset to use. | MSG_TAG_MAIL_USE_INLINE_ATTACHMENTS | org.apache.servicemix.mail.attachments.inline | Should attachments be set as inline | MSG_TAG_TEXT ALTERNATIVE_CONTENT0..n | org.apache.servicemix.mail.alternativecontent text | Contains the alternative plain text content of the mail body if existing. | MSG_TAG_HTML | org.apache.servicemix.mail.html | Contains the html content of the mail body if existing. (or put the HTML as the content of the NMsg) |
|
Mail Content Types
These are the available content types:
- text/plain
- text/html
- text/xml
- multipart/*
- multipart/mixed
- multipart/alternative
- unknown
On incoming mails you may evaluate this property on the normalized message to find out which kind of
mime type the mail had. On outgoing mails you can control the mime type to use for the mail. If you
don't set the content type it will be auto-sensed by the marshaler.
IMAPS and POP3S
If you want to use secure protocols like IMAPS or POP3S you have several oportunities to do that.
...