RAPP Platform Wiki
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
RAPP Email provides an interface to allow users to handle their email accounts. It provides two services; fetch user's emails and send new email. The receive email service supports the IMAP protocol and the send mail the classic SMTP protocol. RAPP Email does not implement an email server and requires the user to have his own email provider who allows connections to the IMAP and SMTP servers.
Service URL: /rapp/rapp_email/receive_email
Service type:
ReceiveEmailSrv.srv ```bash
string email
string password
string server
string port
string requestedEmailStatus
uint64 fromDate
uint64 toDate
uint16 numberOfEmails
int8 status
rapp_platform_ros_communications/MailMsg[] emails ```
MailMsg.msg ```
string bodyPath
string subject string sender string[] receivers string dateTime
string[] attachmentPaths ```
Service URL: /rapp/rapp_email/send_email
Service type:
SendEmailSrv.srv ```bash
string userEmail
string password
string server
string port
string[] recipients
string body
string subject
string[] files
int8 status ```
Launches the rapp email node and can be invoked using: ```bash roslaunch rapp_email email.launch ```
Service URL: localhost:9001/hop/email_send
``` Input = { file_uri: '', email: '', passwd: '', server: '', port: '', recipients: [], body: '', subject: '' }
Output = { error: '' } ```
Service URL: localhost:9001/hop/email_fetch
``` Input = { email: '', passwd: '', server: '', port: '', email_status: '', from_date: 0, to_date: 0, num_emails: 0 }
Output = { emails: [], error: '' } ```