Yes, there is a way to get the raw headers.  In fact you can get the
whole raw email message and bypass the way the API presents it if you
like.

  If you are using Python, the api provides you with a way.  Email
message objects (for example appengine.api.mail.InboundEmailMessage)
has an attribute 'original'.  This is a Python email.Message.Message:

  http://docs.python.org/library/email.message.html

  You can the access headers via:

    my_message.original['header']
    my_message.original.get('header')
    my_message.original.get_all('header')

  I presume you are talking about Python because in Java, the
javax.mail.internet.MimeMessage object that the API uses has methods
for accessessing headers as well.

  
http://java.sun.com/products/javamail/javadocs/javax/mail/internet/MimeMessage.html

 Was this the information you were looking for?

On Dec 20, 1:30 am, Jason <[email protected]> wrote:
> From my reading of the documentation, there is no way to get the raw
> headers of an incoming mail message.  Is this correct?  Are there any
> announced plans for expanding this functionality to include raw
> headers, if so?  My application requires uncommon message headers.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to