This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi thank you for reading my post here is my code to send email using SMTP , now i want to change this code to send email using IMAP and it should be authenticated , does any one know which changes i should introduce in this code ?
If you need to use POP3 protocol then change the code
Store store = session.getStore("POP3");
Please note I think folder concept does not apply to POP3 protocols
And further more as far as I know one does not need to provide user-name and password for sending mails, Auth info is gendrally required for reading mails, but some mail servers may have security restrictions which may require auth info even for sending mails