Collaborative Information Site

Javamail

Receiving email with attachment in Java

posted by AdilKhan167618 2 months ago
tags: java javaapi javamail

As we receive the email, we can receive the attachment also by using Multipart and BodyPart classes found in JavaMail API.

For better understanding of this example, learn the steps of sending email using JavaMail API first.

continue reading
1 visits |0 Comments

Sending email with attachment in Java

posted by AdilKhan167618 2 months ago
tags: java javaapi javamail

For sending email with attachment, JavaMail API provides some useful classes like BodyPart, MimeBodyPart etc. For better understanding of this example, learn the steps of sending email using JavaMail API first

continue reading
1 visits |0 Comments