gmailPage added by Martin Krassergmail ComponentThe gmail component contributes to the Camel Components for Google App Engine (GAE). 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. URI formatgmail://[email protected][?options] gmail://[email protected][?options]
Message headers
Message bodyOn the producer side the in message body is converted to a String. Usage... .setHeader(GMailBinding.GMAIL_SUBJECT, constant("Hello")) .setHeader(GMailBinding.GMAIL_TO, constant("[email protected]")) .to("gmail://[email protected]"); Sends an email with subject Hello from [email protected] to [email protected]. The mail message body is taken from the in message body. Please note that [email protected] must be an administrator account for the current GAE application. Advanced usageTODO ... DependenciesMaven users will need to add the following dependency to their pom.xml. pom.xml <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-gae</artifactId> <version>${camel-version}</version> </dependency> where ${camel-version} must be replaced by the actual version of Camel (2.1-M1 or higher). See Also
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Camel > gmail confluence
- [CONF] Apache Camel > gmail confluence
- [CONF] Apache Camel > gmail confluence
