Thanks, Vinny. There is no HTML form. GAE supposedly submits the data to my script from the incoming mail using POST. Per Google description (https://developers.google.com/appengine/docs/php/mail/):
Email messages are sent to your app as HTTP requests. These requests are > generated by App Engine and posted to your app. In your app's > configuration, you specify handlers that will be called to handle these > HTTP requests. In your handlers, you receive the MIME data for email > messages, which you then parse into its individual fields. Email messages > are sent to your app as HTTP POST requests... Both the $_POST and $_GET arrays are empty. Here's the bug I filed: https://code.google.com/p/googleappengine/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log&groupby=&sort=&id=10280 Thanks for your help! On Wednesday, November 13, 2013 6:04:42 PM UTC-8, Vinny P wrote: > > On Wed, Nov 13, 2013 at 12:16 PM, Liz Stinson > <[email protected]<javascript:> > > wrote: > >> In particular, in the code below, the ELSE block is getting executed. Any >> ideas? >> >> if ($_POST) {}else {syslog(LOG_ERR, "[handle_incoming_email.php] EMPTY POST >> fields... Bailing.");} >> >> >> > > Generally this means that the script is not receiving any POST variables. > Can you post the HTML code of the form? Also try dumping the value of the > POST and GET variables by using *var_dump($_GET);*, there might be > additional clues there to debug this. > > > ----------------- > -Vinny P > Technology & Media Advisor > Chicago, IL > > App Engine Code Samples: http://www.learntogoogleit.com > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
