no that time i was not able to send any mail.
but right now when i use my local ip(192.168.1.221) its my mail server ip as a host then all mails delievered.
but when i changed my host as smtp.gmail.com then these mails are not deliverd to gmail.
mean i didn't want to use my server ip for mailing.
An error message might help to identify the problem. But if I should take a guess it is still the same problem: I can't see anywhere where you authenticate against your mailserver. Your local mailserver might accept sending mails without authentication, but google most certainly does not.