JoomSuite Inbox provides API to integrate with other components. For example, it provides URL for customized compose message forms.

The following code example shows the parameters and values that can be used in the URL for a customized compose message form:

return: base64 encoded url to return to after message is send.

task=compose

type_id=1

subject=some subject

to=admin, Felix

cc=Jenya

bcc=Azamat

additions[0][title]=title

additions[0][url]=http://joomla/index.php/en/inbox.html

additions[0][id]=120

additions[0][text]=sometext

sto[0][to]=admin

sto[0][name]=AndrewStrauss 

In the above code example, apart from the generic email parameters, the following parameters are used:

Sto: This is used as an alternative of the 'To' field. If the 'sto' parameter is used, then the 'To' field is hidden in the message. It is like sending message to a particular user and not allow the person to change the 'To' field. Recipient who is added at parameter sto [0][to], is not able to see other recipients. However, recipients who get usual copy of the message can see other recipients as well as generic e-mail fields.

Addition: This is used as an attachment content. The parameters, such as additions [0][title], additions [0][url], additions [0][id], and additions [0][text] can be used to create unchangeable message body. You can also add multiple 'additions' parameters, as shown in the following code example:

                 additions[1][title]=title

                 additions[1][url]=http://joomla/index.php/en/inbox.html

                 additions[1][id]=120

                 additions[1][text]=sometext