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

Revision:
3:058292da2cee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TinyNet/TinySMTP.h	Wed Sep 07 16:03:54 2011 +0000
@@ -0,0 +1,31 @@
+/*
+ * 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