aspose file tools
The moose likes Java in General and the fly likes mail client testing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "mail client testing" Watch "mail client testing" New topic
Author

mail client testing

mukesh pandey
Greenhorn

Joined: Apr 02, 2010
Posts: 22
Hi ,

I have written a mail client, and I want to test it if I am able to send mail with that or not so I want to ask can we simply call that method of mail client from main method and can test ? i tried to test my mail functionality but i did not able to send the mail though i am able to send mail with the same code when i deploy it on weblogic... my doubt is that is server must for sendig the mail apart from SMTP server ? can't i send mail directly using junit or main method ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
No mail server = no mail. You can set up and run a local mail server like Apache James, or use an embedded mail server like Aspirin.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: mail client testing
 
Similar Threads
mailing
Yahoo Mail is Rejecting My Mail Server
how to send a mail to yahoo user
How to hide FROM attribute in mail
Email Host Configuration Problem