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.
i have a free proxy server software on my proxy server(A) which sends mail through a particular mail server(wesra.com) for all the computers attached to A successfully but when i give the same address in my java mail code it gives me the following of the errors. any ideas why? 1.> this is on my local development environment where i am sending this through one of my computers connected to proxy.
I'm assuming your proxy is configured to relay SMTP? Most only handle HTTP.
Your second error is a 553 error - which means the mailbox name is not allowed. This is expected to be because the mailbox syntax is incorrect, but can also happen if the server is configured to restrict the domains you can send mail to.
For both errors I'd check the proxy configuration.