wich library o program to send a fax? - Redhat

This is a discussion on wich library o program to send a fax? - Redhat ; I have to write an application for sending a fax,
I can programming in C, C++, PHP, Java adn perl...
Whath can I use?
How cah I do?
Thankyou in advance,
Andra....