Hm i tested your Code but if i send an item i get nothing.
############ mail_items ############
mail_id --- item_guid --- item_template --- receiver
3 ------------ 386 ------------ 38237 ------------ 2
############ mail ############
id messageType stationery mailTemplateId sender receiver subject itemTextId has_items expire_time deliver_time money cod checked
3 0 61 0 0 2 Voting Reward 3 1 1261014009 1258422010 0 0
############ item_text ############
id ------------------------------ text
3 - Thank you for voting for our server. Here is your ..
What is wrong here ? By the way what is item_guid in mail_items
(i know these colors are *** made that to make more overview