Sending Email using Java
        Posted  
        
            by Sunny
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sunny
        
        
        
        Published on 2010-05-04T19:13:59Z
        Indexed on 
            2010/05/04
            19:18 UTC
        
        
        Read the original article
        Hit count: 225
        
Hi Guys,
I want my Java application to send out emails to users. But I cant get a good solution.
Now, I got some on Google but they use a SMTP server which I dont have. I was wondering if setting up one on my Linux machine would be easy?
So, I am using mailx now to send out emails but it sends emails from root which is definately not good. Is there any way to send out emails from a proper email using java? like you can do in php and other languages?
© Stack Overflow or respective owner