10 years, 8 months ago.

SimpleSMTPClient with gmail

I am using google mail gmail but how to setting up below parameters in order to send mail with simpleSMTPClient ?

#define DOMAIN "DOMAIN"
#define SERVER "smtp.mailserver.domain"
#define PORT "25" //25 or 587,465(OutBound Port25 Blocking )
#define USER "user-id"
#define PWD "password"
#define FROM_ADDRESS "user-id@domain"
Be the first to answer this question.