0

I have a code in Java used for email auditing. I do receive mails that are monitored. I am only requesting for HEADERS and what I really want is the attachment name and size, if any. But I am not getting this information in the headers. Any settings required to get this information?

halfer
  • 19,824
  • 17
  • 99
  • 186
Sudhanshu Umalkar
  • 4,174
  • 1
  • 23
  • 33
  • 1
    As per my knowledge, If you use HEADER_ONLY, you cannot get all the details from the request. In order to get all the details of the email, you have to give FULL_MESSAGE in the request. Refer to this [documentation](https://developers.google.com/admin-sdk/email-audit/#creating_a_new_email_monitor) for more details. Hope that helps! – KRR Jun 30 '15 at 20:34
  • above comment is correct, should be made into an answer. – Jay Lee Jul 04 '15 at 13:13

0 Answers0