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
Revision 4:7d16b08a1291, committed 2012-12-13
- Comitter:
- sunifu
- Date:
- Thu Dec 13 09:17:27 2012 +0000
- Parent:
- 2:27053679f44b
- Child:
- 5:846af4db63c5
- Commit message:
- Ver 1.03 Add clearMessage 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 Wed Dec 12 08:37:19 2012 +0000 +++ b/SimpleSMTPClient.cpp Thu Dec 13 09:17:27 2012 +0000 @@ -269,4 +269,9 @@ if ( strlen(header) > 256 ) return -1; return 0; -} \ No newline at end of file +} + +void SimpleSMTPClient::clearMessage(void) +{ + memset(message, 0, sizeof(message)); +}
--- a/SimpleSMTPClient.h Wed Dec 12 08:37:19 2012 +0000 +++ b/SimpleSMTPClient.h Thu Dec 13 09:17:27 2012 +0000 @@ -76,6 +76,11 @@ */ int setToAddress(char *to); + /** clearMessage + * + */ + void clearMessage(void); + private: