set the sent flag to true
Merge pull request #636 from nkzawa/patch-5

Set the sent flag to true