If you want to send e-mails with SMTP property in programs which you have coded or using right now and if you haven’t got a SMTP server, don’t worry!
You can use Gmail’s SMTP server very easy. All you need is a Gmail account. You can use Gmail SMTP server with using these Gmail SMTP settings below;
Gmail SMTP Host: smtp.gmail.com
Gmail SMTP Port: 587 or 465
Gmail Username: your Gmail account
“The outgoing SMTP server, smtp.gmail.com, requires TLS. Use port 465, or port 587 if your client begins with plain text before issuing the STARTTLS command.”