Petals-BC-Mail 3.1.x

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (28)

View Page History
* Out-Payload mode : The service allows the consumer to send a JBI message to the component by setting ws-addressing properties in the incoming message exchange which defines all the information needed to send an email.The content of the mail (body) is in the payload of the mesage.

|| Attribute || Description \\ || Default \\ || Required \\ ||
|| Attribute || Description || Default || Required ||
| \{\[http://www.w3.org/2005/08/addressing\]}To | email address of the recipient | {center}\-{center} | {center}Yes{center} |
| \{\[http://www.w3.org/2005/08/addressing\]}From | email address of the sender | {center}\-{center} | {center}Yes{center} |
| \{\[http://www.w3.org/2005/08/addressing\]}ReplyTo | email address for the reply | {center}\-{center} | {center}no{center} |
| \{\[http://www.w3.org/2005/08/addressing\]}Action | the subject of the mail | {center}petals-bc-mail{center} | {center}no{center} |

h3. Configuration

|| Parameter || Description || Default || Required ||
| scheme | the connection protocol (smtp) | \- | Yes |
| username | the username used for authentication | \- | No |
| password | the password used for authentication. Can be null or empty | \- | No |
| host | the host used for connection | \- | Yes |
| port | the port used for connection | \- | Yes |
| to | email address of the recipient | \- | Yes |
| from | email address of the sender | \- | Yes |
| reply | email address for the reply | \- | No |
| subject | the subject of the mail | petals-bc-mail | No |
| send-mode | Send either the source, the attachments or both of the payload | content-and-attachments | No |

{include:0 CDK SU Provide Configuration}

h4. Service Unit descriptor

{code}


{include:0 CDK SU Provide Configuration}

|| Parameter || Description || Default || Required ||
| scheme | the connection protocol (smtp) | {center}\-{center} | {center}Yes{center} |
| username | the username used for authentication | {center}\-{center} | {center}No{center} |
| password | the password used for authentication. Can be null or empty | {center}\-{center} | {center}No{center} |
| host | the host used for connection | {center}\-{center} | {center}Yes{center} |
| port | the port used for connection | {center}\-{center} | {center}Yes{center} |
| to | email address of the recipient | {center}\-{center} | {center}Yes{center} |
| from | email address of the sender | {center}\-{center} | {center}Yes{center} |
| reply | email address for the reply | {center}\-{center} | {center}No{center} |
| subject | the subject of the mail | {center}petals-bc-mail{center} | {center}No{center} |
| send-mode | Send either the source, the attachments or both of the payload | content-and-attachments | {center}No{center} |

{include:0 CDK SU Interceptor configuration}

h4. Service Unit content


{center}

!schema_math_car_4.png|border=0!
*Receiving mails*
{code}

\\
{include:0 CDK SU Consume Configuration}

\\
{center}
{center}*Configuration of a Service Unit to consume a service (Mail)*{center}
{table-plus}







|| Parameter || Description || Default || Required ||
| scheme | the connection protocol (imap or pop3) | {center}\-{center} | {center}Yes{center} |
| username | the username used for authentication | {center}\-{center} | {center}No{center} |
| password | the password used for authentication. Can be null or empty | {center}\-{center} | {center}No{center} |
| host | the host used for connection | {center}\-{center} | {center}Yes{center} |
| port | the port used for connection | * {center}* imap : 143
* pop3 : 110{center} | {center}No{center} |
| folder | the folder to check for new mails | {center}INBOX{center} | {center}No{center} |
| period | the checking period time | 60 000 ms | No |
| period | the checking period time | {center}60 000 ms{center} | {center}No{center} |
| expunge | Expunge deleted messages (read messages are marked as DELETED, default is TRUE) | true {center}true{center} | {center}No{center} |
{table-plus}
*Configuration of a Service Unit to consume a service (Mail)*
{center}

{include:0 CDK SU Interceptor configuration}

h3. Service Unit content


{include:0 CDK Component Configuration Table}

\\
{include:0 CDK Parameter scope}
|| Attribute || Description \\ || Default \\ || Required \\ ||
| host \\ | Define the smtp server address | \- \\ | Yes \\ |
| port \\ | Define the smtp server port | 25 \\ | Yes \\ |
| user \\ | Define the username used for authentication | \- \\ | no \\ |
| password \\ | Define the password used for authentication | \- \\ | no \\ |

|| Parameter || Description || Default || Required ||
| host | Define the smtp server address | {center}\-{center} | {center}Yes{center} |
| port | Define the smtp server port | {center}25{center} | {center}Yes{center} |
| user | Define the username used for authentication | {center}\-{center} | {center}no{center} |
| password | Define the password used for authentication | {center}\-{center} | {center}no{center} |

This specific parameters can be also set through JMX or with Ant task during its installation phase.


{note}This parameter are useful only for dynamic exposition mode{note}

{include:0 CDK component Interceptor configuration}

{column}
{column:width=350px}