Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

find at least ten pieces of spam mail from any account, whether it be home, work

ID: 3800046 • Letter: F

Question

find at least ten pieces of spam mail from any account, whether it be home, work, school, or something else. using e-mail header and any website that might provide information attempt to trace the spam mail back to its original source.

you will need to following materials:

1. collect the e-mails and view the email header information in2 your program.

2. find the received field in the headers and write down as many DNS names or IP addresses as you can. also look for common details in the header element of the different messages, such as the same email servers and spammers.

Explanation / Answer

Spam mail :

Properties props = new Properties();
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", "x x x x xx x x");
props.put("mail.smtp.port", "222");

Session session = Session.getInstance(props,
new javax.mail.Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(emailFrom, password);
}
});