SMS AND EMAIL WORKING
Dependents: Application-SimpleSMTPClient_HelloWorld final
Fork of SimpleSMTPClient by
Diff: SimpleSMTPClient.h
- Revision:
- 2:27053679f44b
- Parent:
- 1:58550f022776
- Child:
- 4:7d16b08a1291
diff -r 58550f022776 -r 27053679f44b SimpleSMTPClient.h --- a/SimpleSMTPClient.h Tue Dec 04 09:55:36 2012 +0000 +++ b/SimpleSMTPClient.h Wed Dec 12 08:37:19 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.> @@ -75,10 +76,7 @@ */ int setToAddress(char *to); - /** clearMessage - * - */ - void clearMessage(void); + private: int base64enc(const char *input, unsigned int length, char *output, int outputlen);