mbed Weather Platform firmware http://mbed.org/users/okini3939/notebook/mbed-weather-platform-firmware/
Dependencies: ChaNFSSD EthernetNetIf I2CLEDDisp Agentbed ChaNFSUSB ILinterpreter mbed BMP085 WeatherMeters ConfigFile ChaNFS I2CLCD
TinyNet/TinySMTP.h
- Committer:
- okini3939
- Date:
- 2012-03-16
- Revision:
- 8:bed0b81794ba
- Parent:
- 3:058292da2cee
File content as of revision 8:bed0b81794ba:
/* * mbed Tiny SMTP Client * Copyright (c) 2011 Hiroshi Suga * Released under the MIT License: http://mbed.org/license/mit */ /** @file * @brief Tiny SMTP Client */ #ifndef TinySMTP_h #define TinySMTP_h //#define DEBUG #define SMTP_PORT 25 #define SMTP_TIMEOUT 15000 // ms /** send mail * @param to mail address * @param from mail address * @param data mail body * @param host mail server * @param data mail body * @param user auth username (or NULL) * @param pwd auth password (or NULL) * @return 0:success, -1:failue */ int sendmail (char *to, char *from, char *data, Host *host, char *user, char *pwd); #endif