Our GAE application is not receiving emails with attachments .
This feature worked well up to some time back but recently we noticed this feature is not working on our production app. tested on Java 8 and Java 17 Appengine standard
Email without attachment works fine. I can see logs in GCP cloud logging.
Email with attachment does not reach our application. There are no logs of Http Request in GCP cloud logging.
logs for email without attachments
i opened a issue tracker but it was closed : https://issuetracker.google.com/issues/325133344
I created a simple demo project for the issue : https://github.com/jkb016/appengine_demo
The code only has configuration to support receiving email . The logs screenshot above is from this project.
reference for Receiving mail https://cloud.google.com/appengine/docs/standard/services/mail/receiving-mail-with-mail-api?tab=java
I tested on 3 different gcp projects, with different codes. The code attached here is the most basic version which is also failing.
Any guidance is greatly appreciated. thankyou.
Hi @jitender,
Welcome to Google Cloud Community!
You may check the following references as you may be missing some of its libraries needed to receive emails with attachments:
I would also suggest reaching out to Google Cloud Support team so that they could dig deeper on the issue and provide proper resolution.
Hope this helps.
Hello Robertcarlos ,
Thankyou for your message.
There are no logs on gcp showing that the http request with attachment is received by appengine.
All normal (success or fail) requests show up on gcp logging, but in this case there is no logs.
I verified that the 3 classes you mentioned are available in the appengine sdk.
The classes can be used to send email with attachment. My issue is with receiving emails.
Also I would like to mention our production app has been receiving emails for almost a decade. Only recently this issue has been observed.
I do not have a support package so do not see the option to connect with Google support.
any advice on the matter is greatly appreciated. thankyou.
Hi @jitender,
Since you mentioned that this was previously working, you may file a bug so that our engineers could take a look at this. We don't have a specific ETA but you can keep track of its progress once the ticket has been created.
Hope this helps.
Hello Robertcarlos ,
Thankyou for your message.
i opened a issue tracker but it was closed : https://issuetracker.google.com/issues/325133344
I feel there is no option unless one buys a paid support package.