title: how to call method after send button is click while sending email from iphone app
body: <p>I am sending email from iphone app i want that when user clicks send button of email after that it should call test() method any idea how to do this I am using following code.</p>
  
  <pre><code>NSString * emailBody =@"&lt;html&gt;&lt;body&gt;Thank you for your participation in Consulting&lt;br&gt;Practitioner and Client Program.&lt;/br&gt;&lt;br&gt;Attached is the copy of your signed contract for your records&lt;p&gt;Please email or fax your completed W-9 form to&lt;br&gt;our PEI Support Team&lt;br&gt;Email:PEISupportServices@zoetis.com&lt;br&gt;Fax:800-741-1310&lt;body&gt;&lt;/html&gt;";
  
  
  
  [picker setMessageBody:emailBody isHTML:YES];
  
  
  
  
  
  [self.navigationController presentViewController:picker animated:YES completion:nil];
  
  
  
  
  }
  
  }
  
  
   [self test];    
  </code></pre>
  
  <p>}</p>