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
Diff: SimpleSMTPClient.h
- Revision:
- 3:67a97516c315
- Parent:
- 0:3ea21ce21fe1
diff -r 3ea21ce21fe1 -r 67a97516c315 SimpleSMTPClient.h --- a/SimpleSMTPClient.h Mon Dec 03 09:55:59 2012 +0000 +++ b/SimpleSMTPClient.h Wed Dec 12 08:24:35 2012 +0000 @@ -44,11 +44,12 @@ * @param data mail body * @param user auth username * @param pwd auth password + * @param domain * @param port mail port * @param auth SMTP auth * @return 0:success, -1:failue */ - int sendmail (char *host, char *user, char *pwd,char *port,SMTPAuth auth); + int sendmail (char *host, char *user, char *pwd,char *domain,char *port,SMTPAuth auth); /** setMessage * @param sub Subject <The Subject are less than 64 characters.> @@ -90,6 +91,7 @@ TCPSocketConnection smtp; char header[256]; char body[1500]; + char domain[64]; char from[64]; char to[128]; char subject[64];