iMac Mail problem (Yosemite)

in Libre Office Preferences i have set the sending documents as email attachments program as follows: /Applications/Mail.app

however, when i try to send a document as attachment the following message appears

Libre Office was unable to find a working email configuration

could you please help me solve this problem?