add send function
Merge remote-tracking branch 'origin/mandrilldevel' into mandrilldevel