SMS AND EMAIL WORKING
Dependents: Application-SimpleSMTPClient_HelloWorld final
Fork of SimpleSMTPClient by
Diff: SimpleSMTPClient.h
- Revision:
- 3:67a97516c315
- Parent:
- 0:3ea21ce21fe1
--- 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];