The conversation between human and AI assistant.
Write a Java process to pick email id from db and send email with template?
Okay, got it. Can I use Gmail SMTP server to send emails in this process?
Yes, you can use Gmail SMTP server for that. You need to set the SMTP server hostname and port using JavaMail API, and also provide your Gmail account details such as username and password.