The client connection security context could not be impersonated

I have a problem with database mail. Why send email with attachment failed? . Notification error the client connection security context could not be impersonated. In local network pass but if i use web application failed. what i must impersonate in IIS if i want to pass?. Please help me.