title: sending email with google app engine from remote host, how do I attache a file?
body: <p>I'm using google app engine to send emails based on <a href="https://github.com/godsid/appEngineSendMail" rel="nofollow">https://github.com/godsid/appEngineSendMail</a></p>
  
  <p>so I do a curl post request from my remote host, and it works.</p>
  
  <p>but how do I attach files to the appengine?</p>
  
  <p>this is my curl post_fields</p>
  
  <pre><code>$fields = array(
                  'to' =&gt; urlencode($to),
                  'sender' =&gt; urlencode($from),
                  'body' =&gt; urlencode($body),
                  'subject' =&gt; urlencode($subject),
                  'key' =&gt; urlencode('****')
                  );
  
  $fields['attachments']= array("@". $_FILES['attachment']['tmp_name']);
  </code></pre>
  
  <p>I've been searching for an answer for 2 days now... any help or tips are appreciated </p>