I wanna send an email in my c++ program, it seems little complex. Is there way to use yahoo or gmail to use them to send my emails?
You could try using the SMTPClientSession from the POCO library.