iOS Shortcut suddenly not attaching PDF or photo to email

I had a simple Send Receipt type shortcut that has been working perfectly for months.Now it (and a couple of other similar shortcuts) are not attaching the PDF to the email. Basically the shortcut would ask for the name for a receipt, then open the rear camera, take a photo of the receipt, convert it to a PDF and send it as an attachment with the name entered at the start as the PDF name. Now this is only sending the email but with no attachment. If I go into the editing mode I can see the image I have taken in the email body, but it no longer comes through in the email. Any idea why this might have suddenly happened?

Rick

It’s very hard to work out what’s going on without having your shortcut. Every suggestion would be purely speculative.

I tried this simple three step shortcut based on a simplified version of your description above. When I sent the resulting mail to myself, it arrived with the correct attachment as a PDF.

FYI, I’m using Shortcuts on iOS 13.3 (17C54).

I’ve had something similar happen to one of my shortcuts that store images.
Looking through the shortcut one of the variables was “greyed out” so no langer had input.
Would have to have a look at your shortcut to verify.

Thanks for the replies. I am new here, how can i post the shortcut for you to view?

It’s exactly the same way as sharing anywhere else. Open the Shortcut for editing, select the share sheet icon. Select copy iCloud link, paste the link into your post.

If it has any personal information (e.g. a personal Email addresses), duplicate the Shortcut, remove the information you don’t want made public, then copy the link for that.

Dd the three step shortcut above work for you by the way?

Thanks for the help. Yes, the simple three step worked. The structure is slightly different to mine, but as I say mine used to work up until possibly 1OS 13.3. Here is the link. . .

https://www.icloud.com/shortcuts/9bee94b9929c450fb66ce50ca871881b

Okay, based on a bit of testing, I’m thinking it is maybe a bug in the send mail action.

Try setting it to show the compose sheet and see if the PDF comes through for you then.

When I try the shortcut (configured with appropriate addresses for me), I get no attachment if show the compose sheet is off and I get attachments if show the compose sheet is on.

Thanks for your help. Yes, that fixed the problem. I guess I will just have to leave it on until the bug is fixed.

Cheers Rick