hi with sendmail functionality is below stuff is possible

hi with sendmail functionality is below stuff is possible

hi,

using send mail is it possible that 

1)After successful upload of data it send mails to respected user and manager

2)In case there are errors while importing data ,send respected errors as attachment to Manager and user.

3)Then Manager will check and approve data.


hi if above stuff is possible tell me how?