title: How can I send image in body of email in YII?
body: <p>Here is code of send mail function I want to send image in set body.  </p>
  
  <pre><code>public function SendMail($id) {
      $message = new YiiMailer('', array());
      $message-&gt;setFrom('abc@gmail.com', 'test');
      $message-&gt;setTo('pqr@gmail.com');
      $message-&gt;setSubject('Test');
      $message-&gt;IsHTML(true);
  
      $message-&gt;setBody(??????);
  
      if ($message-&gt;send()) {
  
    }
   }
  </code></pre>
  
  <p>Give me code for send image in set body in yii.</p>
  
  <p>I dont know how to send image in set body?</p>