this is because you are usong localhost link to send, insted use live link for the same..
ex Instef of using like this
"http://localhost/wp_hospital_management/wp-content/uploads/2014/05/Lighthouse.jpg"
use this
"http://your website link/wp_hospital_management/wp-content/uploads/2014/05/Lighthouse.jpg"