sb.append("Last name: " + prospect.getLastName() + "\n");
sb.append("Email: " + prospect.getEmail() + "\n");
sb.append("Message:\n " + message + "\n");
}else if(t instanceof Contact){
Contact contact = (Contact) t;
sb.append(prospect.getFirstName() + " is trying to contact you.\n");
sb.append("The prospect info is show below.\n");
sb.append("First name: " + prospect.getFirstName() + "\n");
sb.append("Last name: " + prospect.getLastName() + "\n");
sb.append("Email: " + prospect.getEmail() + "\n");
sb.append("Company: " + contact.getCompany() + "\n");
sb.append("Telephone: " + contact.getTelephone() + "\n");
sb.append("Message:\n " + message + "\n");
}
return sb.toString();
}