Linux mail programs vs. programming language mail

Hi, what's the difference between using something like JavaMail to send mail from Java code, and using a Linux mail program like sendmail, exim, or whatever it may be?

Do the two categories of mail programs above serve the exact same functions, or are they totally different?

Where does the division of responsibility lie? Does JavaMail build on top of the Linux mail programs (meaning that you must configure both), or are they mutually exclusive (you can only use one or the other).

Can I ignore the Linux mail programs in favor of JavaMail, which seems much easier to use than the Linux mail programs like sendmail, whose configuration seems quite complicated.

Thanks for your help.

 

 

 

 

Top