I am having a mail sending class which sends the mail using SMTP server. I am sending the mail using the
java mail api to connect to smtp server and send it using the method:
msg.setSubject(subject);
msg.setContent(multipart);
transport.sendMessage(msg, msg.getAllRecipients());
transport.close();
Can you guide me if there is any way in which i can get the report (containing status) of all the mails sent in a period of time. i.e. for example: say in last 1 hour. If there is pointer to code available for it, then it would be great!!