Pls help! sendMail and sendSms doesn't work with OH2?

Hi guys has anyone tried sending mail and sms using rules with OH2. I followed the example instruction exactly like OH1.x but no result. Please show me some example/ how to configure in OH2 platform!
Thanks alot!
Here is output of log file:

==> /var/log/openhab2/openhab.log <==
2017-01-12 12:43:31.709 [ERROR] [rg.openhab.action.mail.internal.Mail] - Cannot send e-mail because of missing configuration settings. The current settings are: Host: 'null', port 'null', from 'null', startTLSEnabled: false, sslOnConnect: false, username: 'null', password 'null'

Do you have a mail.cfg file in conf/services containing the information for your email account?

Well, sendMail turns out to work now after several reboot . But what about sendSms? I couldn’t see any error related to sms in the log file

I have the same problem.

2017-07-17 21:19:33.861 [ERROR] [rg.openhab.action.mail.internal.Mail] - Cannot send e-mail because of missing configuration settings. The current settings are: Host: ‘null’, port ‘null’, from ‘null’, startTLSEnabled: false, sslOnConnect: false, username: ‘null’, password ‘null’

Version: OH 2.1

This config was working with OH 1.8.3.

What’s wrong?

Thanks,
Tucca