Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

gmail Component

Available as of Camel 2.1
The gmail component contributes to the Camel Components for Google App Engine (GAE). It supports sending of emails via the GAE mail service. Receiving mails is not supported yet but will be added later. Currently, only Google accounts that are application administrators can send emails.

...

Name

Default Value

Context

Description

to

null

Producer

To-receiver of the email. This can be a single receiver or a comma-separated list of receivers.

cc

null

Producer

Cc-receiver of the email. This can be a single receiver or a comma-separated list of receivers.

bcc

null

Producer

Receiver Bcc-receiver of the email. This can be a single receiver or a comma-separated list of receivers.

subject

null

Producer

Subject of the email.

outboundBindingRef

reference to GMailBinding

Producer

Reference to an OutboundBinding<GMailEndpoint, MailService.Message, void> in the Registry for customizing the binding of an Exchange to the mail service.

mailServiceRef

reference to MailServiceFactory.getMailService()

Producer

Reference to a MailService in the Registry. Only relevant in context of testing.

Message headers

Name

Type

Context

Description

GMailBinding.GMAIL_SUBJECT

String

Producer

Subject of the email. Overrides subject endpoint option.

GMailBinding.GMAIL_SENDER

String

Producer

Sender of the email. Overrides sender definition in endpoint URI.

GMailBinding.GMAIL_TO

String

Consumer

Producer

To-receiver(s) Receiver of the email. Overrides to endpoint option.

GMailBinding.GMAIL_CC

String

Producer

Cc-receiver(s) of the email. Overrides cc endpoint option.

GMailBinding.GMAIL_BCC

String

Producer

Bcc-receiver(s) of the email. Overrides bcc endpoint option.

Message body

...

Code Block
xml
xml
titlepom.xml
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-gae</artifactId>
    <version>${camel-version}<<version>x.x.x</version>
</dependency>

...

Include Page
CAMEL:Endpoint See AlsoCAMEL:
Endpoint See Also