>he problem is i am unable to send the data to gmail,and my office mail in same communication channel
You can configure SMTP or IMAP for one mail server in the channel. If you want to send mails to multiple email addresses like your office mail accounts as well external servers account like gmail, you can take help from your mail administrator. They can create a group mail Id that links all email addresses of your office mail accounts (desired) recipients and external mail server like gmail Id accounts. You can route the message via your office mail server. Basically you configure smtp for your office mail server. Create group mail ID. Ask your adminstrator to assign those addresses in the group mail ID. This might help. You don't need to handle this in PI.