Forwarding email in Java
We can forward the received mail to someone else as we send emails. There are many javamail classes that are used to forward the messages to the destination resource.
Example of forwarding email in Java
As you can see in the above example, we are able to forward the email to the destination resource. Now run this program by :