EthernetInterface Libraryを使ったSimpleな SMTP ClientLibraryです. LOGIN認証を追加しました.(2014.4 Update) It is SMTPClient Library which is Simple using EthernetInterface Library.

Dependents:   SimpleSMTPClient_HelloWorld USBHost-MSD_Sensors_1 IOT-GPS-SMS IOT_HW_5_websockets ... more

Files at this revision

API Documentation at this revision

Comitter:
sunifu
Date:
Sat Dec 15 14:11:50 2012 +0000
Parent:
4:7d16b08a1291
Child:
6:f6efc3cc8d13
Commit message:
Ver 1.04 Add msgLength Function

Changed in this revision

SimpleSMTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
SimpleSMTPClient.h Show annotated file Show diff for this revision Revisions of this file
--- a/SimpleSMTPClient.cpp	Thu Dec 13 09:17:27 2012 +0000
+++ b/SimpleSMTPClient.cpp	Sat Dec 15 14:11:50 2012 +0000
@@ -275,3 +275,8 @@
 {
     memset(message, 0, sizeof(message)); 
 }
+
+int SimpleSMTPClient::msgLength(void)
+{
+    return strlen(message);
+}
\ No newline at end of file
--- a/SimpleSMTPClient.h	Thu Dec 13 09:17:27 2012 +0000
+++ b/SimpleSMTPClient.h	Sat Dec 15 14:11:50 2012 +0000
@@ -80,7 +80,11 @@
     *    
     */
     void clearMessage(void);
-    
+
+    /** msgLength
+    *
+    */
+    int msgLength(void);    
 
  
 private: