Sending Email in Java through Gmail Server We can send email by using the SMTP server of gmail. It is good if…
Java Mail Tutorial
Receiving email in Java Receiving email using JavaMail API Steps for receiving the email using JavaMail API Example of Receiving email using…
Sending Email in Java Sending Email using JavaMail API Steps to send email using JavaMail API Get the session object Compose the…
JavaMail Tutorial Java Mail API Protocols used in JavaMail API SMTP POP IMAP MIME NNTP and Others Java Mail Architecture Java Mail…
Deleting email in Java As we send, forward and receive the emails, we can delete it too. The setFlag method of Message…
Forwarding email in Java We can forward the received mail to someone else as we send emails. There are many javamail classes…
Receiving email with attachment in Java As we receive the email, we can receive the attachment also by using Multipart and BodyPart…
Sending email with attachment in Java For sending email with attachment, JavaMail API provides some useful classes like BodyPart, MimeBodyPart etc. For…
Sending email with Html content As we send the email, we can send the html content also. For better understanding of this…